Rakefile in page_object-1.1.1 vs Rakefile in page_object-1.1.2
- old
+ new
@@ -1,10 +1,12 @@
require 'rubygems'
require 'bundler'
require 'rspec/core/rake_task'
require 'cucumber'
require 'cucumber/rake/task'
+require 'coveralls/rake/task'
+Coveralls::RakeTask.new
Bundler::GemHelper.install_tasks
RSpec::Core::RakeTask.new(:spec) do |spec|
spec.ruby_opts = "-I lib:spec"
@@ -30,6 +32,8 @@
task :lib do
$LOAD_PATH.unshift(File.expand_path("lib", File.dirname(__FILE__)))
end
-task :default => :test
+task :test_with_coveralls => [:test, 'coveralls:push']
+
+task :default => :test_with_coveralls