summaryrefslogtreecommitdiff
path: root/spec/support/helpers/features
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-12-04 13:52:54 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-12-04 14:10:59 +0200
commitad551e5e719fe4ef168242c8a19dcdbc92d7e6c2 (patch)
tree519af6496d55eac193e38eebdd03b0eddd1ca0fc /spec/support/helpers/features
parent40c86cfede43164e9037bac9d712e72c45bd8aea (diff)
downloadgitlab-ce-ad551e5e719fe4ef168242c8a19dcdbc92d7e6c2.tar.gz
Keep sorting selection when search users on admin panel
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'spec/support/helpers/features')
-rw-r--r--spec/support/helpers/features/list_rows_helpers.rb (renamed from spec/support/helpers/features/rows_helpers.rb)5
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/support/helpers/features/rows_helpers.rb b/spec/support/helpers/features/list_rows_helpers.rb
index 5e614f40a24..0626415361c 100644
--- a/spec/support/helpers/features/rows_helpers.rb
+++ b/spec/support/helpers/features/list_rows_helpers.rb
@@ -1,8 +1,9 @@
+# frozen_string_literal: true
# These helpers allow you to access rows in the list
#
# Usage:
# describe "..." do
-# include Spec::Support::Helpers::Features::RowsHelpers
+# include Spec::Support::Helpers::Features::ListRowsHelpers
# ...
#
# expect(first_row.text).to include("John Doe")
@@ -12,7 +13,7 @@ module Spec
module Support
module Helpers
module Features
- module RowsHelpers
+ module ListRowsHelpers
def first_row
page.all('ul.content-list > li')[0]
end