jasmine-headless-webkit/features/steps/then/bin/exit_status_should_be.rb
2011-12-29 18:37:23 -05:00

4 lines
103 B
Ruby

Then /^the exit status should be (\d+)$/ do |exitstatus|
$?.exitstatus.should == exitstatus.to_i
end