From 4fe25e7e408261df5175b00a5d78f2ca048c546d Mon Sep 17 00:00:00 2001 From: Jens Ulferts Date: Mon, 19 Feb 2018 09:25:25 +0100 Subject: [PATCH] adapt role paths in cuke steps --- features/support/paths.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/support/paths.rb b/features/support/paths.rb index e533c477f56..223c3ac720a 100644 --- a/features/support/paths.rb +++ b/features/support/paths.rb @@ -181,7 +181,7 @@ module NavigationHelpers when /^the edit page (?:for |of )(the )?role(?: called)? (.+)$/ role_identifier = $2.gsub("\"", '') role_identifier = Role.find_by(name: role_identifier).id - "/roles/edit/#{role_identifier}" + "admin/roles/#{role_identifier}/edit" when /^the new user page$/ '/users/new' @@ -304,7 +304,7 @@ module NavigationHelpers '/announcements/1/edit' when /^the index page of Roles$/ - '/roles' + '/admin/roles' when /^the search page$/ '/search'