In this Rakefile I want to set my default task to :test.
task :default => :test
Rubocop has now entered the scene and states
Style/HashSyntax: Use the new Ruby 1.9 hash syntax.
Great. I don't have much Ruby background, but I do know that the general hash syntax is meant to assign values and make it easy to get them later.
I honestly have no idea how to communicate this, where you have some task and there is a 'magic' default instance and I want to assign :test
I have tried a few permutations but none seem to work. I obviously don't come from the same planet.