From 2ed4b2708da8b5786c43c12fd2e1b2675443a15d Mon Sep 17 00:00:00 2001 From: Guilherme Rojas V. de Lima Date: Tue, 3 Sep 2013 14:35:10 -0300 Subject: [PATCH] Finished acceptance tests for delete project --- features/project/deletion.feature | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/features/project/deletion.feature b/features/project/deletion.feature index 989f6d7..bccaad0 100644 --- a/features/project/deletion.feature +++ b/features/project/deletion.feature @@ -9,19 +9,16 @@ Feature: Project Deletion 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 + And I have a sample project + When I am at the Sample Project page + Then I should not see Destroy @kalibro_restart - Scenario: Should delete a project + Scenario: Should delete a project that I own Given I am a regular user And I am signed in And I own a sample project -- libgit2 0.21.2