Sha256: 7515175107b285ca00f752dd2f0a99902454632d56627f825701069ef24071c7

Contents?: true

Size: 352 Bytes

Versions: 9

Compression:

Stored size: 352 Bytes

Contents

require 'spec_helper'
require 'hyrax/specs/shared_specs'

RSpec.describe Hyrax::FileSetDerivativesService do
  let(:valid_file_set) do
    FileSet.new.tap do |f|
      allow(f).to receive(:mime_type).and_return(FileSet.image_mime_types.first)
    end
  end
  subject { described_class.new(file_set) }
  it_behaves_like "a Hyrax::DerivativeService"
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
hyrax-1.1.1 spec/services/hyrax/file_set_derivatives_service_spec.rb
hyrax-1.1.0 spec/services/hyrax/file_set_derivatives_service_spec.rb
hyrax-1.0.5 spec/services/hyrax/file_set_derivatives_service_spec.rb
hyrax-1.0.4 spec/services/hyrax/file_set_derivatives_service_spec.rb
hyrax-1.0.3 spec/services/hyrax/file_set_derivatives_service_spec.rb
hyrax-1.0.2 spec/services/hyrax/file_set_derivatives_service_spec.rb
hyrax-1.0.1 spec/services/hyrax/file_set_derivatives_service_spec.rb
hyrax-1.0.0.rc2 spec/services/hyrax/file_set_derivatives_service_spec.rb
hyrax-1.0.0.rc1 spec/services/hyrax/file_set_derivatives_service_spec.rb