diff options
author | Matt Jankowski <matt@jankowski.online> | 2023-03-02 09:55:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-02 15:55:37 +0100 |
commit | 9da52ac044ced55213be29119ea25b145039e4d0 (patch) | |
tree | a3eb926387bf00ddd2c44d57b7f68ff6790c1c8e /spec | |
parent | 35dff48edf19a344cbf192b510033ba6785c367b (diff) |
Update rspec-rails to version 6.0.1 (#23908)
Diffstat (limited to 'spec')
-rw-r--r-- | spec/services/search_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/search_service_spec.rb b/spec/services/search_service_spec.rb index 7ec334a56..1ad0efe0a 100644 --- a/spec/services/search_service_spec.rb +++ b/spec/services/search_service_spec.rb @@ -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) |