Commit ba8f644b0886973f59b1929da4b7cfa4cfaa431c
Committed by
Rafael Manzo
1 parent
166bfc41
Exists in
colab
and in
4 other branches
Deleting merge files.
Create feature with file extension error. (correct: create.feature) Signed-of By: Renan Fichberg <rfichberg@gmail.com>
Showing
1 changed file
with
0 additions
and
43 deletions
Show diff stats
features/reading_group/create.features
| ... | ... | @@ -1,43 +0,0 @@ |
| 1 | -Feature: Reading Group Creation | |
| 2 | - In order to create new reading groups to make my own readings | |
| 3 | - As a regular user | |
| 4 | - I should be able to create reading groups | |
| 5 | - | |
| 6 | -@kalibro_restart | |
| 7 | -Scenario: Should not create reading groups without login | |
| 8 | - Given I am at the All Reading Groups page | |
| 9 | - Then I should not see New Reading Group | |
| 10 | - | |
| 11 | -@kalibro_restart | |
| 12 | -Scenario: Reading Group creation | |
| 13 | - Given I am a regular user | |
| 14 | - And I am signed in | |
| 15 | - And I am at the New Reading Group page | |
| 16 | - And I fill the Name field with "My reading group" | |
| 17 | - And I fill the Description field with "New reading group" | |
| 18 | - When I press the Save button | |
| 19 | - Then I should see "My reading group" | |
| 20 | - And I should see "New reading group" | |
| 21 | - And I should see "New Reading" | |
| 22 | - And I should see "Destroy Reading Group" | |
| 23 | - | |
| 24 | -@kalibro_restart | |
| 25 | -Scenario: reading group creation with already taken name | |
| 26 | - Given I am a regular user | |
| 27 | - And I am signed in | |
| 28 | - And I have a reading group named "Group" | |
| 29 | - And I am at the New Reading Group page | |
| 30 | - And I fill the Name field with "Group" | |
| 31 | - And I fill the Description field with "Same Group" | |
| 32 | - When I press the Save button | |
| 33 | - Then I should see "There's already" | |
| 34 | - | |
| 35 | -@kalibro_restart | |
| 36 | -Scenario: reading group creation with blank name | |
| 37 | - Given I am a regular user | |
| 38 | - And I am signed in | |
| 39 | - And I am at the New Reading Group page | |
| 40 | - And I fill the Name field with " " | |
| 41 | - And I fill the Description field with "Anything" | |
| 42 | - When I press the Save button | |
| 43 | - Then I should see "Name can't be blank" | |
| 44 | 0 | \ No newline at end of file |