diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-01-22 12:08:53 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-01-22 12:08:53 +0300 |
commit | 4dff02cf71591bd7ab47e44f3e1f2206f61c06eb (patch) | |
tree | 70a7286bbc624c264a06c6693f5e94ebede93dd0 /spec/views/search | |
parent | 16e3c34cac856092627cc41a8a9d9c69f3b26c03 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/views/search')
-rw-r--r-- | spec/views/search/_filter.html.haml_spec.rb | 17 | ||||
-rw-r--r-- | spec/views/search/_form.html.haml_spec.rb | 14 |
2 files changed, 0 insertions, 31 deletions
diff --git a/spec/views/search/_filter.html.haml_spec.rb b/spec/views/search/_filter.html.haml_spec.rb deleted file mode 100644 index 868408f7beb..00000000000 --- a/spec/views/search/_filter.html.haml_spec.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -require 'spec_helper' - -RSpec.describe 'search/_filter' do - context 'when the search page is opened' do - it 'displays the correct elements' do - render - - expect(rendered).to have_selector('label[for="dashboard_search_group"]') - expect(rendered).to have_selector('input#js-search-group-dropdown') - - expect(rendered).to have_selector('label[for="dashboard_search_project"]') - expect(rendered).to have_selector('input#js-search-project-dropdown') - end - end -end diff --git a/spec/views/search/_form.html.haml_spec.rb b/spec/views/search/_form.html.haml_spec.rb deleted file mode 100644 index 073a39e4ed6..00000000000 --- a/spec/views/search/_form.html.haml_spec.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -require 'spec_helper' - -RSpec.describe 'search/_form' do - context 'when the search page is opened' do - it 'displays the correct elements' do - render - - expect(rendered).to have_selector('.search-field-holder.form-group') - expect(rendered).to have_selector('label[for="dashboard_search"]') - end - end -end |