davetron5000 / optparse-plus

Start your command line scripts off right in Ruby
http://davetron5000.github.com/optparse-plus
Apache License 2.0
521 stars 54 forks source link

Ambiguous match in Cucumber steps definitions #102

Closed iiezhachenko closed 6 years ago

iiezhachenko commented 8 years ago

Hi, I'm getting error below when trying to run tests. I would like to contribute, but can't even start.

Tried to add guess in Rakefile, to bypass ambiguity, but it didn't helped. Could you please advice?

localhost:methadone ievgen$ rake features
Ambiguous match of "the directory "tmp/newgem" does not exist":

aruba-0.14.1/lib/aruba/cucumber/file.rb:73:in `/^(?:a|the) (?:file|directory)(?: named)? "([^"]*)" does not exist$/'
features/step_definitions/bootstrap_steps.rb:4:in `/^the directory "([^"]*)" does not exist$/'

 (Cucumber::Ambiguous)
davetron5000 commented 8 years ago

weird, it looks like Aruba now has that step: https://github.com/cucumber/aruba/blob/master/lib/aruba/cucumber/file.rb#L73

I think the thing to do is:

davetron5000 commented 6 years ago

Fresh build and I'm not seeing this. Feel free to re-open if you are still having this issue. NOte that #117 addresses other issues with a modern build.

davetron5000 commented 6 years ago

NM, I am seeing this locally.

davetron5000 commented 6 years ago

Once #121 is merged, Cucumber and Aruba will be gone. I could not get them to work with whatever changes they have made in the past few years.