Remove cucumber monkey patch translating steps:

It was initially added to allow reuse of aruba cucumber steps, using
`must' instead of `should'. This is creating more harm than good, hence
we remove it and implements all missing steps, using aruba API.
This commit is contained in:
Thibault Jouan
2014-04-23 22:34:29 +00:00
parent 974e0aca73
commit 9323391161
7 changed files with 41 additions and 33 deletions

View File

@@ -0,0 +1,23 @@
Then /^the output must match \/([^\/]+)\/$/ do |pattern|
assert_matching_output pattern, all_output
end
Then /^the output must contain "([^"]+)"$/ do |content|
assert_partial_output content, all_output
end
Then /^the output must contain:$/ do |content|
assert_partial_output content, all_output
end
Then /^the output must not contain "([^"]+)"$/ do |content|
assert_no_partial_output content, all_output
end
Then /^the output must contain exactly "([^"]+)"$/ do |content|
assert_exact_output content, all_output
end
Then /^the output must contain exactly:$/ do |content|
assert_exact_output content, all_output
end