tasks/coverage.rb in mabbre-0.0.3 vs tasks/coverage.rb in mabbre-1.0.0
- old
+ new
@@ -1,9 +1,5 @@
desc "Run tests and generate coverage report"
task :coverage do
- if RUBY_VERSION >= "1.9"
- ENV["COVERAGE"] = "true"
- else
- warn "Ruby version 1.9+ is needed in order to generate coverage report."
- end
+ ENV["COVERAGE"] = "true"
Rake::Task[:spec].invoke
end