Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix contextual And handling #73

Merged
merged 3 commits into from
Jul 17, 2017
Merged

Fix contextual And handling #73

merged 3 commits into from
Jul 17, 2017

Conversation

TitouanVanBelle
Copy link
Contributor

@TitouanVanBelle TitouanVanBelle commented Jul 15, 2017

I noticed the contextual And handling was not working when steps were using the step() method because it would set the currentContextKeyword back to nil the keyword is null when using this method.

This PR contains the fix as well as the following new scenarios

Feature: Contextual And Handling

Scenario: Contextual And Handling
Given a Given statement
And an And statement defined with the keyword Give
Then the And statement should be defined

Scenario: Contextual And Handling using the step() method
Given a Given statement using the step method in its implementation
And an And statement defined with the keyword Given
Then the And statement should be defined

@brentleyjones brentleyjones merged commit 6444331 into Ahmed-Ali:develop Jul 17, 2017
@brentleyjones
Copy link
Collaborator

Thanks @TitouanVanBelle!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants