Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-06 06:15:05 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-06 06:15:05 +0300
commitbbca6a0abd9f5559fe4abbf2cb2100a0e4717ac8 (patch)
tree34b5f2fd0c2301b8d5284700bec64ee272246bc4 /features
parente0aa5c371ea1c633a0648f13cd7bea35f3aea75c (diff)
Refactor sorting in project
Diffstat (limited to 'features')
-rw-r--r--features/steps/groups.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/groups.rb b/features/steps/groups.rb
index 895ee7ba081..610e7fd3a48 100644
--- a/features/steps/groups.rb
+++ b/features/steps/groups.rb
@@ -83,7 +83,7 @@ class Spinach::Features::Groups < Spinach::FeatureSteps
end
step 'I should be redirected to group "Samurai" page' do
- current_path.should == group_path(Group.last)
+ current_path.should == group_path(Group.find_by(name: 'Samurai'))
end
step 'I should see newly created group "Samurai"' do