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.12.2 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.12.1 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.12.0 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.11.5 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.11.3 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.11.2 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.10.7 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.10.6 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saasy-0.0.2.alpha3 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saasy-0.0.2.alpha2 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saasy-0.0.2.alpha1 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.10.5 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.10.4 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.10.3 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.10.2 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.10.1 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.10.0 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.9.1 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.9.0 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.8.5 lib/generators/saucy/features/templates/features/edit_project_permissions.feature