mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-04 03:25:14 +00:00
Clean up tagged_with_* Status specs, fix RSpec/LetSetup cop (#28462)
This commit is contained in:
parent
513d35969e
commit
e6e217fedd
3 changed files with 52 additions and 19 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue