shortened cuke for broken menu links in nested pages

pull/76/head
Philipp Tessenow 12 years ago
parent 13fe91c345
commit ad809aa55f
  1. 4
      features/issues/issue.feature
  2. 3
      features/support/paths.rb

@ -58,6 +58,4 @@ Feature: Issue textile quickinfo links
Scenario: Navigating from issue reports back to issue overview
When I go to the issues/report page of the project called "parent"
And I follow "Issue" within "#main-menu"
Then I should be on the overall issues page
And I should have the following query string:
| project_id | parent |
Then I should be on the issues index page of the project called "parent"

@ -63,9 +63,6 @@ module NavigationHelpers
issue = Issue.find_by_subject($1)
"/issues/#{issue.id}"
when /^the overall issues page$/
"/issues"
when /^the edit page (?:for|of) the issue "([^\"]+)"$/
issue = Issue.find_by_subject($1)
"/issues/#{issue.id}/edit"

Loading…
Cancel
Save