0
0
Fork 0

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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