Rakefile in abstract_mapper-0.0.1 vs Rakefile in abstract_mapper-0.0.2
- old
+ new
@@ -1,13 +1,10 @@
# encoding: utf-8
-begin
- require "bundler/setup"
-rescue LoadError
- puts "You must `gem install bundler` and `bundle install` to run rake tasks"
- exit
-end
+require "rubygems"
+require "bundler/setup"
+
# Loads bundler tasks
Bundler::GemHelper.install_tasks
# Loads the Hexx::RSpec and its tasks
begin
@@ -18,10 +15,10 @@
Hexx::RSpec.install_tasks
end
# Sets the Hexx::RSpec :test task to default
task :default do
- system "bundle exec rspec spec"
+ system "bundle exec rake test:coverage:run"
end
desc "Runs mutation metric before the first evil being kept"
task :exhort do
system "mutant -r ./spec/spec_helper --use rspec AbstractMapper* --fail-fast"