From 24edbbb89cef33db350d08c5b47f201e1beca854 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Mon, 31 Jul 2017 20:34:02 -0400 Subject: [PATCH] fix rubocop offenses --- spec/components/search_spec.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spec/components/search_spec.rb b/spec/components/search_spec.rb index 124f84b1250..b78cec8fb10 100644 --- a/spec/components/search_spec.rb +++ b/spec/components/search_spec.rb @@ -845,11 +845,11 @@ describe Search do context 'pagination' do let(:number_of_results) { 2 } - let!(:post1) { Fabricate(:post, raw: 'hello hello hello hello hello')} - let!(:post2) { Fabricate(:post, raw: 'hello hello hello hello')} - let!(:post3) { Fabricate(:post, raw: 'hello hello hello')} - let!(:post4) { Fabricate(:post, raw: 'hello hello')} - let!(:post5) { Fabricate(:post, raw: 'hello')} + let!(:post1) { Fabricate(:post, raw: 'hello hello hello hello hello') } + let!(:post2) { Fabricate(:post, raw: 'hello hello hello hello') } + let!(:post3) { Fabricate(:post, raw: 'hello hello hello') } + let!(:post4) { Fabricate(:post, raw: 'hello hello') } + let!(:post5) { Fabricate(:post, raw: 'hello') } before do Search.stubs(:per_filter).returns(number_of_results) end