Sha256: 50e68e4b6a3ffeef05d975b615699f560aff152a8545ada06115a404d7f21bfe

Contents?: true

Size: 1.95 KB

Versions: 21

Compression:

Stored size: 1.95 KB

Contents

@browse_blog

Feature: Browse blog

  In order to learn more
  As a public user
  I want to browse the blog

  Scenario: Access the blog page
    Given I have a blog "My Blog"
    Given the following blog posts exist:
      | title | content      | summary | state     |
      | Foo   | Foo is foo.  | First   | published |
      | Bar   | Bar is bar.  | Second  | draft     |
    When I visit the blog page
    Then I should see "My Blog"
    And I should see "My blog description"
    And I should see "Foo"
    And I should see "First"
    And I should not see "Bar"

  Scenario: View published blog post
    Given I have a blog "My Blog"
    Given the following blog posts exist:
      | title | content      | summary | state     |
      | Foo   | Foo is foo.  | First   | published |
    When I visit the blog page
    And I follow "Read More..."
    Then I should see "Foo"

  Scenario: Search for blog posts
    Given I have a blog "My Blog"
    Given the following blog posts exist:
      | title | content      | summary | state     |
      | Foo   | Foo is foo.  | First   | published |
    When I visit the blog search page
    And I fill in "keyword" with "foo"
    And I press "GO"
    Then I should see "Search Results (1)"
    And I should see "Foo"
    And I should see "First"

  Scenario: Access the archive
    Given I have a blog "My Blog"
    Given the following blog posts exist:
      | title | content      | summary | state     | publication_date |
      | Foo   | Foo is foo.  | First   | published | 2011-03-22       |
    When I visit the blog archive page
    Then I should see "March 2011"
    And I should see "Foo"

  Scenario: Access the RSS feed
    Given I have a blog "My Blog"
    Given the following blog posts exist:
      | title | content      | summary | state     | publication_date |
      | Foo   | Foo is foo.  | First   | published | 2011-03-22       |
    When I visit the blog RSS feed
    Then I should see "Foo"
    And I should see "Foo is foo."

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
blog_logic-1.4.15 features/browse_blog.feature
blog_logic-1.4.14 features/browse_blog.feature
blog_logic-1.4.13 features/browse_blog.feature
blog_logic-1.4.12 features/browse_blog.feature
blog_logic-1.4.11 features/browse_blog.feature
blog_logic-1.4.10 features/browse_blog.feature
blog_logic-1.4.9 features/browse_blog.feature
blog_logic-1.4.8 features/browse_blog.feature
blog_logic-1.4.7 features/browse_blog.feature
blog_logic-1.4.6 features/browse_blog.feature
blog_logic-1.4.5 features/browse_blog.feature
blog_logic-1.4.4 features/browse_blog.feature
blog_logic-1.4.3 features/browse_blog.feature
blog_logic-1.4.2 features/browse_blog.feature
blog_logic-1.4.1 features/browse_blog.feature
blog_logic-1.4.0 features/browse_blog.feature
blog_logic-1.3.1 features/browse_blog.feature
blog_logic-1.3.0 features/browse_blog.feature
blog_logic-1.2.4 features/browse_blog.feature
blog_logic-1.2.3 features/browse_blog.feature