Skip to content
Extraits de code Groupes Projets
Valider 8d17b353 rédigé par Stephen Caudill's avatar Stephen Caudill
Parcourir les fichiers

Refactor to use a Background

parent 611852bb
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -4,20 +4,20 @@ Feature: User creates an aspect ...@@ -4,20 +4,20 @@ Feature: User creates an aspect
As a User As a User
I want to create a new aspect I want to create a new aspect
Scenario: success Background:
Given I am signed in Given I am signed in
And I follow "Manage" in the header And I follow "Manage" in the header
And I follow "Add a new aspect" And I follow "Add a new aspect"
When I fill in "Name" with "Dorm Mates" in the modal window
And I press "Create" in the modal window Scenario: success
Given I fill in "Name" with "Dorm Mates" in the modal window
When I press "Create" in the modal window
Then I should see "Manage Aspects" Then I should see "Manage Aspects"
And I should see "Dorm Mates" in the header And I should see "Dorm Mates" in the header
And I should see "Dorm Mates" in the aspect list And I should see "Dorm Mates" in the aspect list
Scenario: I omit the name Scenario: I omit the name
Given I am signed in Given I fill in "Name" with "" in the modal window
And I follow "Manage" in the header
And I follow "Add a new aspect"
When I press "Create" in the modal window When I press "Create" in the modal window
Then I should see "Manage Aspects" Then I should see "Manage Aspects"
And I should see "Aspect creation failed." And I should see "Aspect creation failed."
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter