Sha256: ed63fb300ccd0e9071252ce00a69edc457fe6e682263dc4545d73b3afc3c954a

Contents?: true

Size: 1.43 KB

Versions: 75

Compression:

Stored size: 1.43 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 |
      | Hank | hank@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
    And "hank@example.com" is an admin of the "Stocknames" project
    When I go to the settings page for the "thoughtbot" account
    And I follow "Projects" within ".subnav"
    And I follow "Stocknames" within "ul.projects"
    Then "Bill" should be listed as a member
    And "Hank" should be listed as an admin
    And "Jane" should be listed as a non-member
    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 the "Hank" checkbox should be checked
    And I should not see "Jeff"

Version data entries

75 entries across 75 versions & 2 rubygems

Version Path
saucy-0.16.1 features/engine/edit_project_permissions.feature
saucy-0.16.0 features/engine/edit_project_permissions.feature
saucy-0.15.2 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.15.1 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.15.0 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.14.5 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.14.3 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.10.10 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.14.2 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.14.1 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.14.0 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.13.3 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.13.2 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.10.9 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.10.8 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.13.1 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.13.0 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.12.5 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.12.4 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.12.3 lib/generators/saucy/features/templates/features/edit_project_permissions.feature