Skip to content

Commit

Permalink
Added two more scenarios focusing on what happens when no resources a…
Browse files Browse the repository at this point in the history
…re created and when there is a list of tickets that can be converted.
  • Loading branch information
baphled committed May 24, 2010
1 parent 7161833 commit 955b845
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion features/plain/lighthouse_integration.feature
Expand Up @@ -87,4 +87,21 @@ Feature: Lighthouse integration
And submit the form
And I check "lighthouse[ticket_id][]"
And I press "Park"
Then the save tickets should have a body
Then the save tickets should have a body

Scenario: A user should not be able to import tickets if a resource has not been set up
Given there are no resources
When I visit the parking page
Then the ticket search form should not be visible.

Scenario: We should be able to select a parked ticket and convert in into a feature
Given we have set up the lighthouse resource
And there are no tickets parked
And I visit the parking page
When I select "baphled" from "resource_id"
And I fill in "parking_tag" with "feature"
And submit the form
And I check "lighthouse[ticket_id][]"
And I press "Park"
When we click on the first ticket
Then the ticket should be converted into a parked ticket.

0 comments on commit 955b845

Please sign in to comment.