Reduce factory creation in MediaAttachment
model spec (#31058)
This commit is contained in:
parent
41b7281b56
commit
848b59c8ae
2 changed files with 62 additions and 38 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue