From d689781356e10ead26d9ec7dbe89e288c2783d57 Mon Sep 17 00:00:00 2001 From: Arjun Baokar Date: Wed, 22 Apr 2015 00:41:22 -0700 Subject: [PATCH] added cucumber steps for user stories 4-1 --- features/project_view.feature | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/features/project_view.feature b/features/project_view.feature index 40af7ad..fe3a7c7 100644 --- a/features/project_view.feature +++ b/features/project_view.feature @@ -12,6 +12,7 @@ Background: And the following projects exist: | id | title | notes | owner | is_public | | 1 | ohsnap! | awesomesauce | 1 | true | + | 2 | ohpriv! | ucantseeme | 1 | false | Given I am logged in as "test@test.com" with password "yoloswaggins" Given I am on the project details page for "ohsnap!" @@ -45,3 +46,8 @@ Scenario: Seeing project thumbnail Scenario: Editing the project from details as not owner Given I am logged in as "yolo@yolo.com" with password "idfkmanhehe" Then I should not see "edit_project" + +Scenario: Hide Private Project + And am on the project details page for "ohpriv!" + # Note -- We are currently returning 404's for 401's due to privacy concerns. + Then I should see "404"