Skip to content

Commit

Permalink
Rubocop: RSpec/MatchArray
Browse files Browse the repository at this point in the history
Authored-by: Grant Hutchins <[email protected]>
  • Loading branch information
nertzy committed Mar 8, 2023
1 parent 23fe69d commit 17c0b34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/integration/pg_search_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@
in_content = ModelWithPgSearch.create!(title: "bar", content: "foo")

results = ModelWithPgSearch.search_title_and_content("foo")
expect(results).to match_array([in_title, in_content])
expect(results).to contain_exactly(in_title, in_content)
end

# Searching with a NULL column will prevent any matches unless we coalesce it.
Expand Down

0 comments on commit 17c0b34

Please sign in to comment.