Sha256: ad3d0833fc5ca28060634976fc506f1cfdf2d06632a3522057eac42ee27a6647

Contents?: true

Size: 419 Bytes

Versions: 39

Compression:

Stored size: 419 Bytes

Contents

require 'spec_helper'

describe PublishMyData::ThirdParty::ConceptScheme do
  let(:concept_scheme) { FactoryGirl.create(:external_concept_scheme) }

  it_behaves_like 'an external vocabulary' do
    let(:vocabulary) { concept_scheme }
    let(:vocabulary_resource) { concept_scheme.concepts.first }
  end

  describe '#local?' do
    it 'should be false' do
      concept_scheme.local?.should be_false
    end
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
publish_my_data-1.3.25 spec/models/publish_my_data/third_party_concept_scheme_spec.rb
publish_my_data-1.3.24 spec/models/publish_my_data/third_party_concept_scheme_spec.rb
publish_my_data-1.3.23 spec/models/publish_my_data/third_party_concept_scheme_spec.rb
publish_my_data-1.3.22 spec/models/publish_my_data/third_party_concept_scheme_spec.rb
publish_my_data-1.3.21 spec/models/publish_my_data/third_party_concept_scheme_spec.rb
publish_my_data-1.3.20 spec/models/publish_my_data/third_party_concept_scheme_spec.rb
publish_my_data-1.3.19 spec/models/publish_my_data/third_party_concept_scheme_spec.rb
publish_my_data-1.3.18 spec/models/publish_my_data/third_party_concept_scheme_spec.rb
publish_my_data-1.3.17 spec/models/publish_my_data/third_party_concept_scheme_spec.rb
publish_my_data-1.3.16 spec/models/publish_my_data/third_party_concept_scheme_spec.rb
publish_my_data-1.3.15 spec/models/publish_my_data/third_party_concept_scheme_spec.rb
publish_my_data-1.3.14 spec/models/publish_my_data/third_party_concept_scheme_spec.rb
publish_my_data-1.3.13 spec/models/publish_my_data/third_party_concept_scheme_spec.rb
publish_my_data-1.3.12 spec/models/publish_my_data/third_party_concept_scheme_spec.rb
publish_my_data-1.3.11 spec/models/publish_my_data/third_party_concept_scheme_spec.rb
publish_my_data-1.3.10 spec/models/publish_my_data/third_party_concept_scheme_spec.rb
publish_my_data-1.3.9 spec/models/publish_my_data/third_party_concept_scheme_spec.rb
publish_my_data-1.3.8 spec/models/publish_my_data/third_party_concept_scheme_spec.rb
publish_my_data-1.3.7 spec/models/publish_my_data/third_party_concept_scheme_spec.rb
publish_my_data-1.3.6 spec/models/publish_my_data/third_party_concept_scheme_spec.rb