Rakefile in ohai-14.2.0 vs Rakefile in ohai-14.3.0
- old
+ new
@@ -13,10 +13,10 @@
task :spec do
abort "rspec is not installed. `(sudo) gem install rspec` to run unit tests"
end
end
-task :default => :spec
+task default: :spec
require "chefstyle"
require "rubocop/rake_task"
RuboCop::RakeTask.new(:style) do |task|
task.options += ["--display-cop-names", "--no-color"]