Skip to content

Commit

Permalink
I swear... If this fixes the build somehow
Browse files Browse the repository at this point in the history
  • Loading branch information
allejo committed Feb 10, 2018
1 parent e678df9 commit e36373f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/features/match.feature
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ Feature: Matches

Scenario: Enter match - Invalid data
Given I am an admin
And there is a team called "Inimitable habitués"
And there is a team called "Inimitable habitues"
And there is a player called "uncherished"
And a new user called "Wildcat" joins "Inimitable habitués"
And a new user called "unmercifuL" joins "Inimitable habitués"
And a new user called "Wildcat" joins "Inimitable habitues"
And a new user called "unmercifuL" joins "Inimitable habitues"
When I go to "/matches/enter"
And I select "Inimitable habitués" from "form_first_team_team"
And I select "Inimitable habitués" from "form_second_team_team"
And I select "Inimitable habitues" from "form_first_team_team"
And I select "Inimitable habitues" from "form_second_team_team"
And I fill in "form_first_team_participants_player" with "uncherished, ..., , ,,, ,,,, Wildcat, uNmErCIFUl"
And I press "Enter"
Then I should see "You can't report a match where a team played against itself!"
And I should see "This value should not be blank."
And I should see "uncherished is not a member of Inimitable habitués"
And I should see "uncherished is not a member of Inimitable habitues"
And I should see "There is no player called \"...\""
And the "form_first_team_participants_player" field should contain "uncherished, ..., Wildcat, unmercifuL"
But I should not see "The match was created successfully"
Expand Down

0 comments on commit e36373f

Please sign in to comment.