clear out the database and use capybara's old behaviour

pull/59/head
Martin Linkhorst 12 years ago
parent 87ec6d19eb
commit 8b4677a2b7
  1. 9
      features/issues/issue.feature

@ -1,6 +1,7 @@
Feature: Issue textile quickinfo links
Background:
Given there is 1 project with the following:
Given there are no issues
And there is 1 project with the following:
| name | parent |
| identifier | parent |
And there is a role "member"
@ -25,7 +26,7 @@ Feature: Issue textile quickinfo links
When I go to the issues/new page of the project called "parent"
And I fill in "One hash key" for "issue_subject"
And I fill in the ID of "issue1" with 1 hash for "issue_description"
And I press "Create"
When I click on the first button matching "Create"
Then I should see an issue link for "issue1" within "div.wiki"
When I follow the issue link with 1 hash for "issue1"
Then I should be on the page of the issue "issue1"
@ -34,7 +35,7 @@ Feature: Issue textile quickinfo links
When I go to the issues/new page of the project called "parent"
And I fill in "One hash key" for "issue_subject"
And I fill in the ID of "issue1" with 2 hash for "issue_description"
And I press "Create"
When I click on the first button matching "Create"
Then I should see a quickinfo link for "issue1" within "div.wiki"
When I follow the issue link with 2 hash for "issue1"
Then I should be on the page of the issue "issue1"
@ -43,7 +44,7 @@ Feature: Issue textile quickinfo links
When I go to the issues/new page of the project called "parent"
And I fill in "One hash key" for "issue_subject"
And I fill in the ID of "issue1" with 3 hash for "issue_description"
And I press "Create"
When I click on the first button matching "Create"
Then I should see a quickinfo link with description for "issue1" within "div.wiki"
When I follow the issue link with 3 hash for "issue1"
Then I should be on the page of the issue "issue1"

Loading…
Cancel
Save