Update rspec-rails to version 6.0.1 (#23908)

This commit is contained in:
Matt Jankowski authored and GitHub committed 2023-03-02 15:55:37 +01:00
1 parent 35dff48edf
commit 9da52ac044
3 files changed
+19 -19

No files matched your search

+1 -1
View File
@@ -77,7 +77,7 @@ describe SearchService, type: :service do
it 'includes the tag in the results' do
query = '#tag'
tag = Tag.new
allow(Tag).to receive(:search_for).with('tag', 10, 0, exclude_unreviewed: nil).and_return([tag])
allow(Tag).to receive(:search_for).with('tag', 10, 0, { exclude_unreviewed: nil }).and_return([tag])
results = subject.call(query, nil, 10)
expect(Tag).to have_received(:search_for).with('tag', 10, 0, exclude_unreviewed: nil)