From 9d591c64337fca10ffab0e424bebb03fdd519678 Mon Sep 17 00:00:00 2001 From: Steffen van Bergerem Date: Sat, 5 Mar 2016 11:10:31 +0100 Subject: [PATCH] Move some multi stream and person stream cukes to rspec --- features/desktop/connects_users.feature | 34 ------------------------- spec/lib/evil_query_spec.rb | 26 ++++++++++++++++++- spec/lib/stream/person_spec.rb | 17 +++++++++---- 3 files changed, 37 insertions(+), 40 deletions(-) diff --git a/features/desktop/connects_users.feature b/features/desktop/connects_users.feature index 41f2ffb9b..715d74004 100644 --- a/features/desktop/connects_users.feature +++ b/features/desktop/connects_users.feature @@ -12,25 +12,6 @@ Feature: following and being followed And I add the person to my "Besties" aspect And I sign out - Scenario: seeing a follower's posts on their profile page, but not in your stream - Given "bob@bob.bob" has a non public post with text "I am following you" - When I sign in as "alice@alice.alice" - And I am on "bob@bob.bob"'s page - Then I should see "I am following you" - - When I go to the home page - Then I should not see "I am following you" - - Scenario: seeing public posts of someone you follow - Given "alice@alice.alice" has a public post with text "I am ALICE" - - When I sign in as "bob@bob.bob" - And I am on "alice@alice.alice"'s page - Then I should see "I am ALICE" - - When I go to the home page - Then I should see "I am ALICE" - Scenario: I follow a malicious user When I sign in as "bob@bob.bob" And I go to the edit profile page @@ -44,21 +25,6 @@ Feature: following and being followed And I add the person to my "Besties" aspect Then I should see a flash message containing "You have started sharing with