Feature: Manage FAQ Content In order to manage content for an FAQ publication As an admin I want to create, edit, and delete FAQs Scenario: Add Content to a Publication Given I have no publications Given I have a publication named "FAQ" with "FAQs" content When I visit "FAQ" And I follow "Add Content" And I fill in "managed_content_headline" with "What is the answer?" And I fill in "managed_content_content_editor" with "Here it is." And I press "Save" Then I should see "Publication Details" And I should see "What is the answer?" And I should see "Here it is." Scenario: View a Publication's Content Given I have no publications Given I have a publication named "FAQ" with "FAQs" content Given the publication "FAQ" has the following contents | headline | content | slug | | Foo | Stuff | foo | When I visit "FAQ" Then I should see "Foo" Scenario: View Details for a Publication's Content Given I have no publications Given I have a publication named "FAQ" with "FAQs" content Given the publication "FAQ" has the following contents | headline | content | slug | | Foo | Stuff | foo | When I visit "FAQ" And I follow "View" within "[@class='crud_links']" Then I should see "FAQ Details" And I should see "Foo" Scenario: Edit Details for a Publication's Content Given I have no publications Given I have a publication named "FAQ" with "FAQs" content Given the publication "FAQ" has the following contents | headline | content | slug | | Foo | Stuff | foo | When I visit "FAQ" And I follow "Edit" within "[@class='crud_links']" And I fill in "managed_content_headline" with "What was the answer?" And I press "Save" Then I should see "FAQ Details" And I should see "What was the answer?" Scenario: Delete a Publication's Content Given I have no publications Given I have a publication named "FAQ" with "FAQs" content Given the publication "FAQ" has the following contents | headline | content | slug | | Foo | Stuff | foo | When I visit "FAQ" And I press "" within "[@class='crud_links']" Then I should not see "Foo"