Sha256: 85de0e17c4c26bc5a4aba026fe9a907bb51c8639255704ecf5aab9908e680d7b
Contents?: true
Size: 1.18 KB
Versions: 2
Compression:
Stored size: 1.18 KB
Contents
Feature: Manage Pages In order to control the content on my website As an administrator I want to create and manage pages Background: Given I am a logged in refinery user Scenario: Pages List Given I have pages titled Home, About When I go to the list of pages Then I should see "Home" And I should see "About" Scenario: Create Valid Page Given I have no pages When I go to the list of pages And I follow "Create New Page" And I fill in "Title" with "Pickles are Cucumbers Soaked in Evil" And I press "Save" Then I should see "'Pickles are Cucumbers Soaked in Evil' was successfully created." And I should have 1 page Scenario: Create Invalid Page (without title) Given I have no pages When I go to the list of pages And I follow "Create New Page" And I press "Save" Then I should see "Title can't be blank" And I should have 0 pages Scenario: Create Duplicate Page Given I only have pages titled Home, About When I go to the list of pages And I follow "Create New Page" And I fill in "Title" with "About" And I press "Save" Then I should have 3 pages And I should have a page at /about--2
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
refinerycms-0.9.7.10 | features/refinery/manage_pages.feature |
refinerycms-0.9.7.9 | features/refinery/manage_pages.feature |