Rakefile in testrbl-0.1.15 vs Rakefile in testrbl-0.1.16
- old
+ new
@@ -1,11 +1,11 @@
require 'bundler/setup'
require 'bundler/gem_tasks'
task :default do
- # tests do not run with test-unit 1.x.x since it defines testrb and overshadows 1.9s native testrb
+ # tests do not run with test-unit 1.x.x or <=2.3 since it defines testrb and overshadows 1.9s native testrb
if `which testrb`.include?("/gems/")
- raise "tests do not run with test-unit 1.x.x installed\nyes | gem uninstall -a test-unit && bundle"
+ raise "tests do not run with test-unit testrb installed\nyes | gem uninstall -a test-unit && bundle"
end
sh "rspec spec/"
end