diaspora/features/blocks_user.feature
Dan Hansen 16e76886d9 wip
2011-11-03 12:31:24 -07:00

20 lines
No EOL
620 B
Gherkin

@javascript
Feature: Blocking a user from the stream
Background:
Given a user with username "bob"
And a user with username "alice"
And a user with username "alice" is connected with "bob"
When I sign in as "bob@bob.bob"
And I post a status with the text "I am da #boss"
And I am on the home page
When I go to the destroy user session page
Scenario: Blocking a user
When I sign in as "alice@alice.alice"
And I am on the home page
Then I should see "I am da #boss"
When I click on bob's block button
And I am on the home page
Then I should not see "I am da #boss"