Sha256: c50d1037d757291b58cab8e889e40791b49468393a5ae88de63cbeb8eb663416

Contents?: true

Size: 965 Bytes

Versions: 4

Compression:

Stored size: 965 Bytes

Contents

Feature: Site management

  Background:
    Given a logged in admin

  Scenario: An admin edits the site settings
    When I follow "Settings"
    And I fill in "settings_site_name" with "Pixels and Bits"
    And I press "Save"
    Then I should see "Pixels and Bits"

  Scenario: An admin wants to add a new entry as a draft, then publish
    When I follow "Entries"
    And I follow "Start a new entry"
    And I fill in "entry_title" with "Is this thing on"
    And I fill in "entry_body" with "Hrm, Who knows"
    And I press "Save as draft"
    Then the entry should be a draft
    When I go to the home page
    Then I should not see the entry
    When I follow "Logout"
    And I go to the entry page
    Then the response should be a 404
    Given a logged in admin
    And I go to the admin home page
    And I follow "Entries"
    And I follow the title of the entry
    And I press "Publish"
    And I go to the home page
    Then I should see the entry

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jabe-0.5.3 features/admin.feature
jabe-0.5.2 features/admin.feature
jabe-0.5.1 features/admin.feature
jabe-0.5.0 features/admin.feature