Skip to content

Instantly share code, notes, and snippets.

@enkessler
Created May 24, 2017 12:26
Show Gist options
  • Save enkessler/f351c4fd83f1b621789ad1d22cecb369 to your computer and use it in GitHub Desktop.
Save enkessler/f351c4fd83f1b621789ad1d22cecb369 to your computer and use it in GitHub Desktop.
Gist for reproducing Cucumber issue
Feature:
Scenario: test 1
* a step
* an ambiguous step
Scenario: test 2
* step 1
* step 2
When(/^a.*step$/) do
'foo'
end
When(/^an ambiguous step$/) do
'bar'
end
When(/^step 1$/) do
'baz'
end
When(/^step 2$/) do
'buzz'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment