Sha256: 7ce979f4c8959b44a92e3cd576f043671c32210ede1c5fe5949aec056f5e1eec

Contents?: true

Size: 514 Bytes

Versions: 3

Compression:

Stored size: 514 Bytes

Contents

# Generated via
#  `rails generate curate:work <%= class_name %>`
require 'spec_helper'
require 'active_fedora/test_support'

describe <%= class_name %> do
  include ActiveFedora::TestSupport
  subject { <%= class_name %>.new }

  it_behaves_like 'is_a_curation_concern_model'
  it_behaves_like 'with_access_rights'
  it_behaves_like 'is_embargoable'
  it_behaves_like 'has_dc_metadata'
  it_behaves_like 'doi_assignable'
  <%- if register_doi? -%>
  it_behaves_like 'remotely_identified', :doi
  <%- end -%>

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
curate-0.5.1 lib/generators/curate/work/templates/model_spec.rb.erb
curate-0.5.0 lib/generators/curate/work/templates/model_spec.rb.erb
curate-0.4.2 lib/generators/curate/work/templates/model_spec.rb.erb