Sha256: a8efc8952273f0c6830f71faca875f9aed9bcf177bad6483ee0576bbf41f4e87

Contents?: true

Size: 330 Bytes

Versions: 13

Compression:

Stored size: 330 Bytes

Contents

# frozen_string_literal: true
RSpec.shared_examples 'a Valkyrie::StorageAdapter::File' do
  before do
    raise 'adapter must be set with `let(:file)`' unless defined? file
  end

  subject { file }

  it { is_expected.to respond_to(:read) }
  it { is_expected.to respond_to(:rewind) }
  it { is_expected.to respond_to(:id) }
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
valkyrie-1.2.2 lib/valkyrie/specs/shared_specs/file.rb
valkyrie-1.2.1 lib/valkyrie/specs/shared_specs/file.rb
valkyrie-1.2.0 lib/valkyrie/specs/shared_specs/file.rb
valkyrie-1.2.0.rc3 lib/valkyrie/specs/shared_specs/file.rb
valkyrie-1.2.0.rc2 lib/valkyrie/specs/shared_specs/file.rb
valkyrie-1.2.0.rc1 lib/valkyrie/specs/shared_specs/file.rb
valkyrie-1.1.2 lib/valkyrie/specs/shared_specs/file.rb
valkyrie-1.1.1 lib/valkyrie/specs/shared_specs/file.rb
valkyrie-1.1.0 lib/valkyrie/specs/shared_specs/file.rb
valkyrie-1.0.0 lib/valkyrie/specs/shared_specs/file.rb
valkyrie-1.0.0.rc2 lib/valkyrie/specs/shared_specs/file.rb
valkyrie-1.0.0.rc1 lib/valkyrie/specs/shared_specs/file.rb
valkyrie-0.1.0 lib/valkyrie/specs/shared_specs/file.rb