Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: e610a024e0
Fetching contributors…

Cannot retrieve contributors at this time

9 lines (7 sloc) 0.303 kb
When /^I run cucumber "([^"]*)"$/ do |cmd|
run_simple(unescape("cucumber #{cmd}"), false)
end
Then /^it should (pass|fail) with JSON:$/ do |pass_fail, json|
JSON.pretty_generate(JSON.parse(all_stdout)).should == JSON.pretty_generate(JSON.parse(json))
assert_exiting_with(pass_fail == 'pass')
end
Jump to Line
Something went wrong with that request. Please try again.