publisher rework

This commit is contained in:
danielgrippi 2011-07-01 09:03:18 -07:00 committed by Ilyaaaaaaaaaaaaa Zhitomirskiy
parent b2f580c39e
commit 956a86b401

View file

@ -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"