Rakefile in lazier-2.6.3 vs Rakefile in lazier-2.6.4
- 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["LAZIER_COVERAGE"] = "TRUE"
- Rake::Task["spec"].invoke
- end
-end
+RSpec::Core::RakeTask.new("spec:coverage") { |t| t.ruby_opts = "-r./spec/coverage_helper" }
\ No newline at end of file