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