Browse files

Use exec to run tests to preserve exit code

  • Loading branch information...
1 parent 2104655 commit 3f9f8bbee4652ff280dc1dbd1374c133e9ac7026 @ConradIrwin ConradIrwin committed Dec 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Rakefile
View
2 Rakefile
@@ -55,7 +55,7 @@ task :test do
Dir['spec/**/*_spec.rb']
end
all_specs.shuffle! if all_specs.respond_to? :shuffle!
- system "bacon -Ispec -rubygems -q #{all_specs.join ' '}"
+ exec "bacon -Ispec -rubygems -q #{all_specs.join ' '}"
end
task :spec => :test

0 comments on commit 3f9f8bb

Please sign in to comment.