Convert spec with transpec and fix for newer rspec-puppet