jasmine-headless-webkit/features/steps/then/bin/exit_status_should_be.rb

4 lines
103 B
Ruby
Raw Permalink Normal View History

2011-12-29 23:37:23 +00:00
Then /^the exit status should be (\d+)$/ do |exitstatus|
$?.exitstatus.should == exitstatus.to_i
end