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

@ -54,3 +54,10 @@ Feature: Issue textile quickinfo links
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"
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 |

@ -63,6 +63,9 @@ 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