Rakefile in bovem-2.1.0 vs Rakefile in bovem-2.1.1
- old
+ new
@@ -6,13 +6,6 @@
require "bundler/gem_tasks"
require "rspec/core/rake_task"
RSpec::Core::RakeTask.new("spec")
-
-namespace :spec do
- desc "Run all specs with coverage"
- task :coverage do
- ENV["BOVEM_COVERAGE"] = "TRUE"
- Rake::Task["spec"].invoke
- end
-end
\ No newline at end of file
+RSpec::Core::RakeTask.new("spec:coverage") { |t| t.ruby_opts = "-r./spec/coverage_helper" }