lib/tasks/knapsack_cucumber.rake in knapsack-1.1.0 vs lib/tasks/knapsack_cucumber.rake in knapsack-1.1.1
- old
+ new
@@ -12,8 +12,9 @@
puts allocator.leftover_node_tests
puts
cmd = %Q[bundle exec cucumber #{args[:cucumber_args]} -- #{allocator.stringify_node_tests}]
- exec(cmd)
+ system(cmd)
+ exit($?.exitstatus)
end
end