Rename jobs/attachments rspec tag names (#29762)
This commit is contained in:
parent
79b0e192d9
commit
f1300ad284
63 changed files with 76 additions and 76 deletions
|
@ -120,7 +120,7 @@ RSpec.configure do |config|
|
|||
end
|
||||
|
||||
config.around do |example|
|
||||
if example.metadata[:sidekiq_inline] == true
|
||||
if example.metadata[:inline_jobs] == true
|
||||
Sidekiq::Testing.inline!
|
||||
else
|
||||
Sidekiq::Testing.fake!
|
||||
|
@ -137,7 +137,7 @@ RSpec.configure do |config|
|
|||
end
|
||||
|
||||
config.before do |example|
|
||||
unless example.metadata[:paperclip_processing]
|
||||
unless example.metadata[:attachment_processing]
|
||||
allow_any_instance_of(Paperclip::Attachment).to receive(:post_process).and_return(true) # rubocop:disable RSpec/AnyInstance
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue