0
0
Fork 0

Reduce factory creation in MediaAttachment model spec (#31058)

This commit is contained in:
Matt Jankowski 2024-07-18 11:23:46 -04:00 committed by GitHub
parent 41b7281b56
commit 848b59c8ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 62 additions and 38 deletions

View file

@ -161,6 +161,7 @@ RSpec::Sidekiq.configure do |config|
end
RSpec::Matchers.define_negated_matcher :not_change, :change
RSpec::Matchers.define_negated_matcher :not_eq, :eq
RSpec::Matchers.define_negated_matcher :not_include, :include
def request_fixture(name)