Sha256: 4ed967c47fc910b4db6ca6df603b384059b8b9923cbd1665e4103393594a4294
Contents?: true
Size: 304 Bytes
Versions: 30
Compression:
Stored size: 304 Bytes
Contents
RSpec.shared_context 'with invalid file' do let(:invalid_file) do fixture_file_upload( File.expand_path('../../../spec/fixtures/users.yml', __dir__), 'text/x-yaml' ) end before do allow(Alchemy::Attachment).to receive(:allowed_filetypes) do ['png'] end end end
Version data entries
30 entries across 30 versions & 1 rubygems