lib/hexx-rspec.rb in hexx-rspec-0.5.1 vs lib/hexx-rspec.rb in hexx-rspec-0.5.2
- old
+ new
@@ -22,10 +22,10 @@
#
# @return [undefined]
#
def self.[](string)
system(string)
- fail "finished with status #{$?.exitstatus}" unless $?.success?
+ exit(false) unless $?.success?
end
# Loads coverage metric in a given scope
#
# Checks if a corresponding environment is set