Sha256: 812690343c07c9b01234be1ddddb351f7ed0ead7686ffdc939066c767901c786

Contents?: true

Size: 272 Bytes

Versions: 13

Compression:

Stored size: 272 Bytes

Contents

shared_examples 'has_common_solr_fields' do
  let(:solr_doc) { subject.to_solr }

  it "should index concrete an abstract type" do
    solr_doc['human_readable_type_sim'].should == subject.human_readable_type
    solr_doc['generic_type_sim'].should == ['Work']
  end

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
curate-0.6.6 spec/support/shared/has_common_solr_fields.rb
curate-0.6.5 spec/support/shared/has_common_solr_fields.rb
curate-0.6.4 spec/support/shared/has_common_solr_fields.rb
curate-0.6.3 spec/support/shared/has_common_solr_fields.rb
curate-0.6.1 spec/support/shared/has_common_solr_fields.rb
curate-0.6.0 spec/support/shared/has_common_solr_fields.rb
curate-0.5.6 spec/support/shared/has_common_solr_fields.rb
curate-0.5.5 spec/support/shared/has_common_solr_fields.rb
curate-0.5.4 spec/support/shared/has_common_solr_fields.rb
curate-0.5.2 spec/support/shared/has_common_solr_fields.rb
curate-0.5.1 spec/support/shared/has_common_solr_fields.rb
curate-0.5.0 spec/support/shared/has_common_solr_fields.rb
curate-0.4.2 spec/support/shared/has_common_solr_fields.rb