diff --git a/spec/lib/search_spec.rb b/spec/lib/search_spec.rb index 2be1c5dc536..c3ddb409ae4 100644 --- a/spec/lib/search_spec.rb +++ b/spec/lib/search_spec.rb @@ -1903,7 +1903,7 @@ RSpec.describe Search do results = Search.new('#9998').execute expect(results.posts.length).to eq(1) - results = Search.new('#777').execute + results = Search.new('#nonexistent').execute expect(results.posts.length).to eq(0) results = Search.new('xxx #:').execute