Sha256: 2eefd0bf462222bce8628fa4d91866c44e4b82b5011fc4e3d11eda9cc07a461b

Contents?: true

Size: 1.41 KB

Versions: 4

Compression:

Stored size: 1.41 KB

Contents

Feature: Manage Projects
  As a admin user
  I want to be able to manage projects
  In order to have a project for each of my software applications

  Background:
    Given an account exists with a name of "Test"
    And I have signed in with "joe@example.com/test"
    And "joe@example.com" is an admin of the "Test" account

  Scenario: Create new project
    When I go to the projects page for the "Test" account
    And I follow "New Project"
    And I fill in "Name" with "Project 1"
    And I press "Create"
    And I go to the projects page for the "Test" account
    Then I should see "Project 1"

  Scenario: Edit a project
    Given the following project exists:
      | account    | name      |
      | name: Test | Project 1 |
    When I go to the projects page for the "Test" account
    And I follow "Project 1"
    And I fill in "Name" with "Name Change"
    And I press "Update"
    Then I should see "Name Change"

  Scenario: View all projects
    Given the following projects exist:
      | account       | name      |
      | name: Test    | Project 1 |
      | name: Test    | Project 2 |
      | name: Other   | Project 3 |
      | name: Another | Project 4 |
    And "joe@example.com" is a member of the "Other" account
    When I go to the projects page for the "Test" account
    Then I should see "Project 1"
    And I should see "Project 2"
    But I should not see "Project 3"
    And I should not see "Project 4"

Version data entries

4 entries across 4 versions & 1 rubygems

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