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:
authorFatih Acet <acetfatih@gmail.com>2016-06-10 01:05:09 +0300
committerFatih Acet <acetfatih@gmail.com>2016-06-10 01:05:09 +0300
commite864bdf25b0082be8d0847fed6a2d16fe348ae59 (patch)
treed9ab18068a0a8b9f012fc02e2ff9f5004f73e994 /spec/features/search_spec.rb
parent639347bad4909e3451d6f5617d6f79ae2e63e9aa (diff)
Fix specs and add new tests.
Diffstat (limited to 'spec/features/search_spec.rb')
-rw-r--r--spec/features/search_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/search_spec.rb b/spec/features/search_spec.rb
index 4f4d4b1e3e9..b9e63a7152c 100644
--- a/spec/features/search_spec.rb
+++ b/spec/features/search_spec.rb
@@ -68,7 +68,7 @@ describe "Search", feature: true do
it 'should show category search dropdown' do
page.find('#search').click
- expect(page).to have_selector('.dropdown-header', text: /go to in #{project.name}/i)
+ expect(page).to have_selector('.dropdown-header', text: /#{project.name}/i)
end
end
@@ -119,7 +119,7 @@ describe "Search", feature: true do
end
it 'should not display the category search dropdown' do
- expect(page).not_to have_selector('.dropdown-header', text: /go to in #{project.name}/i)
+ expect(page).not_to have_selector('.dropdown-header', text: /#{project.name}/i)
end
end
end