Rakefile in reckon-0.7.1 vs Rakefile in reckon-0.7.2
- old
+ new
@@ -15,8 +15,8 @@
puts "Running integration tests"
Rake::Task["integration_tests"].invoke
end
task :integration_tests do
- puts `./spec/integration/test.sh`
- raise 'Integration tests failed' if $CHILD_STATUS.exitstatus != 0
+ cmd = 'prove -v ./spec/integration/test.sh'
+ raise 'Integration tests failed' unless system(cmd)
end