cucumber feature closer to passing.
This commit is contained in:
parent
d200aaab52
commit
8cf1b83662
1 changed files with 3 additions and 5 deletions
|
|
@ -12,12 +12,10 @@ Feature: User creates an aspect
|
|||
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"
|
||||
And I should see "Dorm Mates" in the header
|
||||
And I should see "Dorm Mates" in the aspect list
|
||||
Then I should see "Dorm Mates" in the header
|
||||
And I should see "Your aspect 'Dorm Mates' is empty."
|
||||
|
||||
Scenario: I omit the name
|
||||
Given I fill in "Name" with "" in the modal window
|
||||
When I press "Create" in the modal window
|
||||
Then I should see "Manage aspects"
|
||||
And I should see "Aspect creation failed."
|
||||
Then I should see "Aspect creation failed."
|
||||
|
|
|
|||
Loading…
Reference in a new issue