templates/ruby/src/tasks/unit_test.rake in noe-1.3.0 vs templates/ruby/src/tasks/unit_test.rake in noe-1.4.0
- old
+ new
@@ -66,10 +66,10 @@
t.test_files = +{rake_tasks.unit_test.test_files}
end
rescue LoadError => ex
task :unit_test do
- abort 'rspec is not available. In order to run spec, you must: gem install rspec'
+ abort "rake/testtask does not seem available...\n #{ex.message}"
end
ensure
desc "Run all tests"
task :test => [:unit_test]
end