Sha256: 7eafddfe47ca60055b458f3154376b613a9e4d3d6beadca57bb95610a43fb9c3

Contents?: true

Size: 413 Bytes

Versions: 3

Compression:

Stored size: 413 Bytes

Contents

shared_examples 'doi_assignable' do
  it { should respond_to(:identifier) }
  it { should respond_to(:identifier=) }
  it { should respond_to(:existing_identifier) }
  it { should respond_to(:existing_identifier=) }
  it { should respond_to(:doi_assignment_strategy=) }
  it { should respond_to(:doi_assignment_strategy) }
  it { subject.class.included_modules.should include CurationConcern::DoiAssignable }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
curate-0.5.1 spec/support/shared/doi_assignable.rb
curate-0.5.0 spec/support/shared/doi_assignable.rb
curate-0.4.2 spec/support/shared/doi_assignable.rb