summaryrefslogtreecommitdiff
path: root/features/steps/admin
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-05 20:21:21 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-05 20:21:21 -0800
commitc5be267e40c0ba05c2a7de6a71d154f1b5161160 (patch)
tree3a107fe2554f6728801aef5b478763ee4003c26d /features/steps/admin
parentbbca6a0abd9f5559fe4abbf2cb2100a0e4717ac8 (diff)
downloadgitlab-ce-c5be267e40c0ba05c2a7de6a71d154f1b5161160.tar.gz
Refactor issuable sorting a bit
Diffstat (limited to 'features/steps/admin')
-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