Sha256: d80415cde108f5923a17d9ce0e4d8149f3cddd57d0a18ca26924068b2816ab77

Contents?: true

Size: 1.94 KB

Versions: 24

Compression:

Stored size: 1.94 KB

Contents

Feature: Managing users
  In order to allow others to edit content and design assets
  As an administrator I want to manage the set of users
  
  Background:
    Given I am logged in as "admin"
    And I go to the "users" admin page
  Scenario: Listing users
    Then I should see "Admin"
    And I should see "Designer"
    And I should see "Existing"
    # And a host of others
    
  Scenario: View a user
    When I view a user
    Then I should see "Edit User"
  
  Scenario: Create new user
    When I follow "New User"
    And I fill in "Name" with "New Guy"
    And I fill in "E-mail" with "newguy@example.com"
    And I fill in "Username" with "new_guy"
    And I fill in "New Password" with "password"
    And I fill in "Confirm New Password" with "password"
    And I press "Create User"
    Then I should be on the users list
    And I should see "New Guy"
  
  Scenario: Display form errors on submit
    When I follow "New User"
    And I fill in "Name" with "New Guy"
    And I fill in "E-mail" with "newguy@example.com"
    And I press "Create User"
    Then I should see an error message
    And I should see the form
    
  Scenario: Edit existing user
    When I follow "Designer"
    Then I should see the form
    When I fill in "Name" with "Old Guy"
    And I fill in "Username" with "oldguy"
    And I uncheck "Designer"
    And I press "Save Changes"
    Then I should see "Old Guy"
    But I should not see "Designer"

  Scenario: Cannot remove self
    When I attempt to remove my own account
    Then I should see an error message
    And I should see "You cannot delete yourself"

  Scenario: Cannot forcefully delete self
    When I attempt to delete my own account
    Then I should see an error message
    And I should see "You cannot delete yourself"
  
  Scenario: Delete other users
    When I follow "Remove"
    Then I should see "permanently remove"
    And I should see "Another"
    When I press "Delete User"
    And I should not see "Another"

Version data entries

24 entries across 24 versions & 4 rubygems

Version Path
radiant-1.1.4 features/admin/users_management.feature
radiant-1.1.3 features/admin/users_management.feature
radiant-1.1.2 features/admin/users_management.feature
radiant-1.1.1 features/admin/users_management.feature
radiant-1.1.0 features/admin/users_management.feature
radiant-1.1.0.rc1 features/admin/users_management.feature
radiant-1.1.0.beta features/admin/users_management.feature
radiant-1.0.1 features/admin/users_management.feature
radiant-1.1.0.alpha features/admin/users_management.feature
radiant-1.0.0 features/admin/users_management.feature
radiant-1.0.0.rc5 features/admin/users_management.feature
radiant-1.0.0.rc4 features/admin/users_management.feature
radiant-1.0.0.rc3 features/admin/users_management.feature
kajam-1.0.3.rc2 features/admin/users_management.feature
radiant-1.0.0.rc2 features/admin/users_management.feature
radiant-1.0.0.rc1 features/admin/users_management.feature
radiant-rails3-0.1 features/admin/users_management.feature
radiantcms-couchrest_model-0.1.4 features/admin/users_management.feature
radiantcms-couchrest_model-0.1.3 features/admin/users_management.feature
radiantcms-couchrest_model-0.1.2 features/admin/users_management.feature