Sha256: f183f64bd2f9df71fd24420b15ff684308fe4cec4a9ddc7f231dc701501fd2ea

Contents?: true

Size: 1.19 KB

Versions: 4

Compression:

Stored size: 1.19 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"
    And I follow "Stocknames"
    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"
    Then the "Bill" checkbox should not be checked
    And the "Jane" checkbox should be checked
    And I should not see "Jeff"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
saucy-0.1.8 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.1.7 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.1.6 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.1.5 lib/generators/saucy/features/templates/features/edit_project_permissions.feature