Clean up tagged_with_* Status specs, fix RSpec/LetSetup cop (#28462)

This commit is contained in:
Matt Jankowski
2023-12-22 03:32:27 -05:00
committed by GitHub
parent 513d35969e
commit e6e217fedd
3 changed files with 52 additions and 19 deletions

View File

@@ -153,6 +153,7 @@ RSpec::Sidekiq.configure do |config|
end
RSpec::Matchers.define_negated_matcher :not_change, :change
RSpec::Matchers.define_negated_matcher :not_include, :include
def request_fixture(name)
Rails.root.join('spec', 'fixtures', 'requests', name).read