Sha256: 79197d611efc8dcea9f622d1dd1b047b3b45a69462df455acc03f609876b51a5
Contents?: true
Size: 335 Bytes
Versions: 88
Compression:
Stored size: 335 Bytes
Contents
# frozen_string_literal: true 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
88 entries across 88 versions & 1 rubygems