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

@@ -1,18 +1,2 @@
module Cucumber
class Runtime
alias :old_step_match :step_match
def step_match(step_name, name_to_report = nil)
if step_name.include? ' must '
name_to_report = step_name.dup
step_name.gsub! ' must ', ' should '
end
old_step_match(step_name, name_to_report)
end
end
end
require 'aruba/cucumber'
require 'cucumber/sshd/cucumber'