From 956a86b4011614955b92b7654880b7aee1e5e75b Mon Sep 17 00:00:00 2001 From: danielgrippi Date: Fri, 1 Jul 2011 09:03:18 -0700 Subject: [PATCH] publisher rework --- features/follows_tags.feature | 37 +++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 features/follows_tags.feature diff --git a/features/follows_tags.feature b/features/follows_tags.feature new file mode 100644 index 000000000..07e7ae9b3 --- /dev/null +++ b/features/follows_tags.feature @@ -0,0 +1,37 @@ +@javascript +Feature: posting + In order to takeover humanity for the good of society + As a rock star + I want to see what humanity is saying about particular tags + + Background: + Given a user with username "bob" + And a user with username "alice" + When I sign in as "bob@bob.bob" + And I have an aspect called "PostTo" + And I have an aspect called "DidntPostTo" + And I have user with username "alice" in an aspect called "PostTo" + And I have user with username "alice" in an aspect called "DidntPostTo" + + And I am on the home page + + + Scenario: see a tag that I am following + Given I am on the home page + And I expand the publisher + And I fill in "status_message_fake_text" with "I am #bob" + And I press the first ".public_icon" within "#publisher" + And I press "Share" + And I go to the destroy user session page + + And I sign in as "alice@alice.alice" + And I search for "#alice" + And I press "Follow #alice" + And I go to the home page + And I press on "#alice" + Then I should see "I am #alice" + + + + +