summaryrefslogtreecommitdiff
path: root/spec/features/search_spec.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-06-13 18:30:09 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-06-13 18:37:30 -0400
commit37066267e75cbd10bad3046c61efdfd82bf6338b (patch)
treeb082803c01148a49f33dfa9aa2546a4c3272c3cf /spec/features/search_spec.rb
parent422236c71eb8f1c88e83331b6eb74211fd7ccf49 (diff)
downloadgitlab-ce-37066267e75cbd10bad3046c61efdfd82bf6338b.tar.gz
Use `page.all` and `page.within` in specsrs-expect-syntax-specs
Diffstat (limited to 'spec/features/search_spec.rb')
-rw-r--r--spec/features/search_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/search_spec.rb b/spec/features/search_spec.rb
index 73987739a7a..479334f45d8 100644
--- a/spec/features/search_spec.rb
+++ b/spec/features/search_spec.rb
@@ -7,7 +7,7 @@ describe "Search", feature: true do
@project.team << [@user, :reporter]
visit search_path
- within '.search-holder' do
+ page.within '.search-holder' do
fill_in "search", with: @project.name[0..3]
click_button "Search"
end