Skip to content

Commit

Permalink
More refactoring to make the steps take advantage of already implemen…
Browse files Browse the repository at this point in the history
…ted definitions.
  • Loading branch information
baphled committed May 14, 2010
1 parent f53a155 commit 8671580
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions features/plain/lighthouse_integration.feature
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@ Feature: Lighthouse integration

Scenario: We want to be able to add a new lighthouse resource
Given we visit the new parking page
When I fill in the "parking_project_name" with "baphled"
And I fill in the "parking_project_id" with "50164"
And we submit the form
Then the resource information should be saved
When I fill in "resource_name" with "baphled"
And I fill in "resource_project_id" with "50164"
Then submit the form
And the resource information should be saved

Scenario: We should be able to use the lighthouse resource when it has been stored
Given we have setup the lighthouse resource
And I visit the parking page
When I fill in the "parking_tag" with "feature"
Then we should be sent to the "tickets" page
And we submit the form
Then I should be sent to the "tickets" page
And submit the form
And there should be a list of tickets found

Scenario: We should be able to import all found tickets into the parking area.
Given we have set up the lighthouse resource
And I visit the parking page
When we submit a ticket search for "feature"
And we specify the ticket type as "feature"
Then we should be able to select tickets to add to parking
When I submit a ticket search for "feature"
And I specify the ticket type as "feature"
Then I should be able to select tickets to add to parking

0 comments on commit 8671580

Please sign in to comment.