Enable "zero monkey patching" mode in RSpec (#31614)
This commit is contained in:
parent
c9ea91f868
commit
f1003b2560
439 changed files with 441 additions and 439 deletions
|
@ -1,6 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
shared_examples 'AccountHeader' do |fabricator|
|
||||
RSpec.shared_examples 'AccountHeader' do |fabricator|
|
||||
describe 'base64-encoded files', :attachment_processing do
|
||||
let(:base64_attachment) { "data:image/jpeg;base64,#{Base64.encode64(attachment_fixture('attachment.jpg').read)}" }
|
||||
let(:account) { Fabricate(fabricator, header: base64_attachment) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue