Sha256: 5966ffc773d60d627d276f503df51a8154e559093590fc297301eaf2d2c66b76

Contents?: true

Size: 1.83 KB

Versions: 22

Compression:

Stored size: 1.83 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 the following account exists:
      | name | keyword |
      | Test | test    |
    And the following user exists:
      | name     | email           |
      | Joe User | joe@example.com |
    And "joe@example.com" is an admin of the "Test" account
    And I sign in as "joe@example.com"

  Scenario: Create new project
    When I go to the projects page for the "Test" account
    And I follow "New Project"
    Then the "Joe User" checkbox should be checked
    When I fill in "Name" with "Project 1"
    And I fill in "Keyword" with "project1"
    And I should see "http://www.example.com/accounts/test/projects/keyword"
    And I press "Create"
    And I go to the projects page for the "Test" account
    Then I should see "Project 1" within "ul.projects"

  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" within "ul.projects"
    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" within "ul.projects"
    And I should see "Project 2" within "ul.projects"
    But I should not see "Project 3" within "ul.projects"
    And I should not see "Project 4" within "ul.projects"

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
saucy-0.2.28.1 lib/generators/saucy/features/templates/features/manage_projects.feature
saucy-0.3.1 lib/generators/saucy/features/templates/features/manage_projects.feature
saucy-0.3.0 lib/generators/saucy/features/templates/features/manage_projects.feature
saucy-0.2.45 lib/generators/saucy/features/templates/features/manage_projects.feature
saucy-0.2.44 lib/generators/saucy/features/templates/features/manage_projects.feature
saucy-0.2.43 lib/generators/saucy/features/templates/features/manage_projects.feature
saucy-0.2.42 lib/generators/saucy/features/templates/features/manage_projects.feature
saucy-0.2.41 lib/generators/saucy/features/templates/features/manage_projects.feature
saucy-0.2.40 lib/generators/saucy/features/templates/features/manage_projects.feature
saucy-0.2.39 lib/generators/saucy/features/templates/features/manage_projects.feature
saucy-0.2.38 lib/generators/saucy/features/templates/features/manage_projects.feature
saucy-0.2.36 lib/generators/saucy/features/templates/features/manage_projects.feature
saucy-0.2.35 lib/generators/saucy/features/templates/features/manage_projects.feature
saucy-0.2.34 lib/generators/saucy/features/templates/features/manage_projects.feature
saucy-0.2.33 lib/generators/saucy/features/templates/features/manage_projects.feature
saucy-0.2.32 lib/generators/saucy/features/templates/features/manage_projects.feature
saucy-0.2.31 lib/generators/saucy/features/templates/features/manage_projects.feature
saucy-0.2.30 lib/generators/saucy/features/templates/features/manage_projects.feature
saucy-0.2.29 lib/generators/saucy/features/templates/features/manage_projects.feature
saucy-0.2.28 lib/generators/saucy/features/templates/features/manage_projects.feature