diaspora/features/logged_out_browsing.feature
Dennis Collinson b28508ecbc MS DC show last post and show page works unauthenticated
phasing out app.user() for app.currentUser
2012-02-24 19:09:00 -08:00

23 lines
762 B
Gherkin

@javascript
Feature: Browsing Diaspora as a logged out user
In order to view public diaspora content
as a random internet user
I want to view public pages
Background:
Given a user named "Bob Jones" with email "bob@bob.bob"
And "bob@bob.bob" has a public post with text "public stuff"
And I log out
Scenario: Visiting a profile page
When I am on "bob@bob.bob"'s page
Then I should see "public stuff" within "body"
Scenario: Clicking Last Post
When I am on "bob@bob.bob"'s page
And I follow "Last Post"
Then I should see "public stuff" within "body"
Scenario: Visiting a post show page
When I view "bob@bob.bob"'s first post
Then I should see "public stuff" within "body"