Upgrade chefspec, fix rubocop errors

`bundle exec rspec` seemed to stop working for no good reason on master, so I upgraded chefspec and fixed the tests to use the new syntax.