Rakefile in rspec_junit-2.0.1 vs Rakefile in rspec_junit-3.0.0
- old
+ new
@@ -1,8 +1,10 @@
require 'bundler/gem_tasks'
require 'cucumber/rake/task'
require 'rspec/core/rake_task'
+require 'coveralls/rake/task'
+Coveralls::RakeTask.new
namespace :cuke do
Cucumber::Rake::Task.new(:all) do |t|
t.cucumber_opts = "--format pretty"
end
@@ -17,7 +19,7 @@
t.pattern = "spec/**/*_spec.rb"
t.ruby_opts = "-I lib"
end
end
-task :default => ['spec:all', 'cuke:all']
+task :default => ['spec:all', 'cuke:all', 'coveralls:push']