Commit 2ed4b2708da8b5786c43c12fd2e1b2675443a15d
Committed by
Guilherme Rojas
1 parent
5eac8746
Exists in
colab
and in
4 other branches
Finished acceptance tests for delete project
Now using authentication and ownership.
Showing
1 changed file
with
4 additions
and
7 deletions
Show diff stats
features/project/deletion.feature
... | ... | @@ -9,19 +9,16 @@ Feature: Project Deletion |
9 | 9 | When I am at the Sample Project page |
10 | 10 | Then I should not see Destroy |
11 | 11 | |
12 | - @wip | |
13 | 12 | @kalibro_restart |
14 | 13 | Scenario: Should not delete a project that doesn't belongs to user |
15 | 14 | Given I am a regular user |
16 | 15 | And I am signed in |
17 | - And I own a sample project | |
18 | - And I am at the Sample Project page | |
19 | - When I click the Destroy link | |
20 | - Then I should be in the All Projects page | |
21 | - And the sample project should not be there | |
16 | + And I have a sample project | |
17 | + When I am at the Sample Project page | |
18 | + Then I should not see Destroy | |
22 | 19 | |
23 | 20 | @kalibro_restart |
24 | - Scenario: Should delete a project | |
21 | + Scenario: Should delete a project that I own | |
25 | 22 | Given I am a regular user |
26 | 23 | And I am signed in |
27 | 24 | And I own a sample project | ... | ... |