diff --git a/features/project/deletion.feature b/features/project/deletion.feature index a28bbfa..989f6d7 100644 --- a/features/project/deletion.feature +++ b/features/project/deletion.feature @@ -2,7 +2,24 @@ Feature: Project Deletion In order to be able to remove projects As a regular user The system should have an interface to it - + + @kalibro_restart + Scenario: Should not delete a project without user authetication + Given I have a sample project + When I am at the Sample Project page + Then I should not see Destroy + + @wip + @kalibro_restart + Scenario: Should not delete a project that doesn't belongs to user + Given I am a regular user + And I am signed in + And I own a sample project + And I am at the Sample Project page + When I click the Destroy link + Then I should be in the All Projects page + And the sample project should not be there + @kalibro_restart Scenario: Should delete a project Given I am a regular user -- libgit2 0.21.2