Sha256: 8afe50ad202a6b38ea2a7b7d1939eb9d8e34bf07f3084c57fcd592b66e5e409f

Contents?: true

Size: 1.98 KB

Versions: 3

Compression:

Stored size: 1.98 KB

Contents

Feature: Manage Publications
  In order to keep publications up-to-date
  As an admin
  I want to fully manage publications

  Scenario: List Publications
    Given I have publications named FAQ, Articles
    When I go to the admin_publications page
    Then I should see "Publications"
    And I should see "New Publication"
    And I should see "FAQ"
    And I should see "Articles"

  Scenario: Create a Publication
    Given I have no publications
    And I am on the admin_publications page
    When I follow "New Publication"
    And I fill in "publication_name" with "Frequently Asked Questions"
    And I fill in "publication_desired_slug" with "faqs"
    And I select "FAQs" from "publication_content_type"
    And I press "Save"
    Then I should see "Frequently Asked Questions"
    And I should have 1 publication

  Scenario: Delete Publication
    Given I have publications named FAQ
    When I go to the admin_publications page
    And I press "" within "[@class='crud_links']"
    Then I should not see "FAQ"

  Scenario: View Publication
    Given I have publications named FAQ
    When I go to the admin_publications page
    And I follow "View" within "[@class='crud_links']"
    Then I should see "FAQ"

  Scenario: Edit Publication from Publications List
    Given I have publications named FAQ
    When I go to the admin_publications page
    And I follow "Edit" within "[@class='crud_links']"
    And I fill in "publication_name" with "Infrequently Asked Questions"
    And I press "Save"
    Then I should see "Publication Details"
    And I should see "Infrequently Asked Questions"

  Scenario: Edit Publication from Publication Show
    Given I have publications named FAQ
    When I go to the admin_publications page
    And I follow "View" within "[@class='crud_links']"
    And I follow "Edit"
    And I fill in "publication_name" with "All-Too-Frequently Asked Questions"
    And I press "Save"
    Then I should see "Publication Details"
    And I should see "All-Too-Frequently Asked Questions"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
editorial_logic-1.3.3 features/manage_publications.feature
editorial_logic-1.3.2 features/manage_publications.feature
editorial_logic-1.3.1 features/manage_publications.feature