Skip to content

Commit

Permalink
Rubocop: RSpec/NoExpectationExample
Browse files Browse the repository at this point in the history
Authored-by: Grant Hutchins <[email protected]>
  • Loading branch information
nertzy committed Sep 21, 2022
1 parent 225c06f commit 24b95bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/lib/pg_search/multisearch/rebuilder_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,10 @@ def rebuild_pg_search_documents
end
end

it "creates search document without PG error" do
it "rebuilds without error" do
time = Time.utc(2001, 1, 1, 0, 0, 0)
rebuilder = described_class.new(Model, -> { time })
rebuilder.rebuild
expect { rebuilder.rebuild }.not_to raise_error
end
end

Expand Down

0 comments on commit 24b95bb

Please sign in to comment.