Skip to content

Commit

Permalink
Add failed scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
lchrusciel committed Aug 25, 2016
1 parent 7cbffd7 commit 9bf9f59
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions features/using_variadic_in_behat_context.feature
Expand Up @@ -33,3 +33,13 @@ Feature: Using variadic in behat context
"""
When I run Behat
Then it should pass with "Number of passed arguments: 2"

Scenario: Disabled variadic support
And a feature file "features/enabled_variadic_support.feature" containing:
"""
Feature: Enabled variadic support feature
Scenario: Enabled variadic support scenario
When I use a step with two arguments
"""
When I run Behat
Then it should pass with "Number of passed arguments: 1"

0 comments on commit 9bf9f59

Please sign in to comment.