summaryrefslogtreecommitdiff
path: root/features/steps/admin/groups.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/steps/admin/groups.rb')
-rw-r--r--features/steps/admin/groups.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/admin/groups.rb b/features/steps/admin/groups.rb
index 5e45063b4b5..6bcec48be88 100644
--- a/features/steps/admin/groups.rb
+++ b/features/steps/admin/groups.rb
@@ -33,7 +33,7 @@ class Spinach::Features::AdminGroups < Spinach::FeatureSteps
end
step 'I should be redirected to group page' do
- current_path.should == admin_group_path(Group.last)
+ current_path.should == admin_group_path(Group.find_by(path: 'gitlab'))
end
When 'I select user "John Doe" from user list as "Reporter"' do