summaryrefslogtreecommitdiff
path: root/spec/features/global_search_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/global_search_spec.rb')
-rw-r--r--spec/features/global_search_spec.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/features/global_search_spec.rb b/spec/features/global_search_spec.rb
index d7692181453..7927dc067e5 100644
--- a/spec/features/global_search_spec.rb
+++ b/spec/features/global_search_spec.rb
@@ -1,6 +1,6 @@
-require 'spec_helper'
+require "spec_helper"
-describe 'Global search' do
+describe "Global search" do
let(:user) { create(:user) }
let(:project) { create(:project, namespace: user.namespace) }
@@ -9,10 +9,10 @@ describe 'Global search' do
sign_in(user)
end
- describe 'I search through the issues and I see pagination' do
+ describe "I search through the issues and I see pagination" do
before do
allow_any_instance_of(Gitlab::SearchResults).to receive(:per_page).and_return(1)
- create_list(:issue, 2, project: project, title: 'initial')
+ create_list(:issue, 2, project: project, title: "initial")
end
it "has a pagination" do
@@ -22,7 +22,7 @@ describe 'Global search' do
click_button "Go"
select_filter("Issues")
- expect(page).to have_selector('.gl-pagination .next')
+ expect(page).to have_selector(".gl-pagination .next")
end
end
end