Sha256: 602d8da8ed825e7ef6819eb6ba6d5869d857818e3422705383d344d5e6a1c364

Contents?: true

Size: 1.23 KB

Versions: 37

Compression:

Stored size: 1.23 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" 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

37 entries across 37 versions & 1 rubygems

Version Path
saucy-0.2.6 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.2.5 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.2.4.1 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.2.4 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.2.3 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.2.2 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.2.1 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.2.0 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.1.18 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.1.17 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.1.16 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.1.15 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.1.14 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.1.13 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.1.12 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.1.11 lib/generators/saucy/features/templates/features/edit_project_permissions.feature
saucy-0.1.9 lib/generators/saucy/features/templates/features/edit_project_permissions.feature