features/push_features.feature in wally-0.0.44 vs features/push_features.feature in wally-0.0.45
- old
+ new
@@ -16,5 +16,19 @@
Scenario: Pushed features show up on home page
Given I have a .wally authentication file
When I put data to /my_project_name/features with the authentication code
And I visit "my_project_name" page
Then I see the uploaded feature
+
+ Scenario: Delete projects without authorisation
+ Given I don't have a .wally authorisation file
+ And I create a project called "project1"
+ When I send DELETE to "/projects/project1"
+ Then "project1" should exist
+ And I get a 403 http status
+
+ Scenario: Delete projects with authorisation
+ Given I have a .wally authentication file
+ And I create a project called "project1"
+ When I send DELETE to "/projects/project1"
+ Then "project1" should not exist
+ And I get a 201 http status