From ad809aa55f706cece904542a186f7d78cd7e9680 Mon Sep 17 00:00:00 2001 From: Philipp Tessenow Date: Mon, 22 Apr 2013 11:08:51 +0200 Subject: [PATCH] shortened cuke for broken menu links in nested pages --- features/issues/issue.feature | 4 +--- features/support/paths.rb | 3 --- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/features/issues/issue.feature b/features/issues/issue.feature index a6899693e9..3aca5f5c0e 100644 --- a/features/issues/issue.feature +++ b/features/issues/issue.feature @@ -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 | \ No newline at end of file + Then I should be on the issues index page of the project called "parent" \ No newline at end of file diff --git a/features/support/paths.rb b/features/support/paths.rb index 8db1247248..8b880475c9 100644 --- a/features/support/paths.rb +++ b/features/support/paths.rb @@ -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"