Sha256: 0efc8d20b753090ce6d196c337dafcc999f7226afa17aab3717a47a540c8a8a4

Contents?: true

Size: 381 Bytes

Versions: 40

Compression:

Stored size: 381 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Spotlight::CarrierwaveFileResolver do
  let(:masthead) { FactoryBot.create(:masthead) }
  let(:resolver) { described_class.new }

  describe 'finding the file' do
    subject { Riiif::Image.file_resolver.find(masthead.id) }

    it 'is found' do
      expect(subject).to be_kind_of Riiif::File
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
blacklight-spotlight-3.4.0 spec/services/spotlight/carrierwave_file_resolver_spec.rb
blacklight-spotlight-3.3.0 spec/services/spotlight/carrierwave_file_resolver_spec.rb
blacklight-spotlight-3.2.0 spec/services/spotlight/carrierwave_file_resolver_spec.rb
blacklight-spotlight-3.1.0 spec/services/spotlight/carrierwave_file_resolver_spec.rb
blacklight-spotlight-3.0.3 spec/services/spotlight/carrierwave_file_resolver_spec.rb
blacklight-spotlight-3.0.2 spec/services/spotlight/carrierwave_file_resolver_spec.rb
blacklight-spotlight-3.0.1 spec/services/spotlight/carrierwave_file_resolver_spec.rb
blacklight-spotlight-3.0.0 spec/services/spotlight/carrierwave_file_resolver_spec.rb
blacklight-spotlight-3.0.0.rc6 spec/services/spotlight/carrierwave_file_resolver_spec.rb
blacklight-spotlight-3.0.0.rc5 spec/services/spotlight/carrierwave_file_resolver_spec.rb
blacklight-spotlight-3.0.0.rc4 spec/services/spotlight/carrierwave_file_resolver_spec.rb
blacklight-spotlight-3.0.0.rc3 spec/services/spotlight/carrierwave_file_resolver_spec.rb
blacklight-spotlight-3.0.0.rc2 spec/services/spotlight/carrierwave_file_resolver_spec.rb
blacklight-spotlight-3.0.0.rc1 spec/services/spotlight/carrierwave_file_resolver_spec.rb
blacklight-spotlight-3.0.0.alpha.10 spec/services/spotlight/carrierwave_file_resolver_spec.rb
blacklight-spotlight-3.0.0.alpha.9 spec/services/spotlight/carrierwave_file_resolver_spec.rb
blacklight-spotlight-3.0.0.alpha.8 spec/services/spotlight/carrierwave_file_resolver_spec.rb
blacklight-spotlight-3.0.0.alpha.7 spec/services/spotlight/carrierwave_file_resolver_spec.rb
blacklight-spotlight-3.0.0.alpha.6 spec/services/spotlight/carrierwave_file_resolver_spec.rb
blacklight-spotlight-3.0.0.alpha.5 spec/services/spotlight/carrierwave_file_resolver_spec.rb