Sha256: ca04e76e0e7569b6bd59e7d26444582b8062a8b5dc075265a4731e85e73e29ce

Contents?: true

Size: 1.25 KB

Versions: 9

Compression:

Stored size: 1.25 KB

Contents

Feature: edit permissions for a project

  As an admin,
  I can manage permissions for each project in my account, so only project
  members can edit blurbs.

  Scenario: edit permissions for a project
    Given the following project exists:
      | name       | account          |
      | Stocknames | name: thoughtbot |
    And the following users exist:
      | name | email            |
      | Bill | bill@example.com |
      | Jane | jane@example.com |
      | Jeff | jeff@example.com |
    And I am signed in as an admin of the "Stocknames" project
    And "bill@example.com" is a member of the "Stocknames" project
    And "jane@example.com" is a member of the "thoughtbot" account
    When I go to the settings page for the "thoughtbot" account
    And I follow "Projects" within ".tabs"
    And I follow "Stocknames" within "ul.projects"
    Then the "Bill" checkbox should be checked
    And the "Jane" checkbox should not be checked
    And I should not see "Jeff"
    When I check "Jane"
    And I uncheck "Bill"
    And I press "Update"
    Then I should see "Project was updated"
    When I follow "Stocknames" within "ul.projects"
    Then the "Bill" checkbox should not be checked
    And the "Jane" checkbox should be checked
    And I should not see "Jeff"

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
saucy-0.2.28.1 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.2.35 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.2.34 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.2.33 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.2.32 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.2.31 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.2.30 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.2.29 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.2.28 lib/generators/saucy/features/templates/features/edit_project_permissions.feature