Sha256: 88759ebab2e08d27b76d2bb80532bd7aa58fd0da085071506ecab2d1a5d418d0

Contents?: true

Size: 489 Bytes

Versions: 39

Compression:

Stored size: 489 Bytes

Contents

require 'spec_helper'

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

  it_behaves_like PublishMyData::AllFeatures do
    let(:resource) { concept_scheme }
  end

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

  describe '#local?' do
    it 'should be true' do
      concept_scheme.local?.should be_true
    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/concept_scheme_spec.rb
publish_my_data-1.3.24 spec/models/publish_my_data/concept_scheme_spec.rb
publish_my_data-1.3.23 spec/models/publish_my_data/concept_scheme_spec.rb
publish_my_data-1.3.22 spec/models/publish_my_data/concept_scheme_spec.rb
publish_my_data-1.3.21 spec/models/publish_my_data/concept_scheme_spec.rb
publish_my_data-1.3.20 spec/models/publish_my_data/concept_scheme_spec.rb
publish_my_data-1.3.19 spec/models/publish_my_data/concept_scheme_spec.rb
publish_my_data-1.3.18 spec/models/publish_my_data/concept_scheme_spec.rb
publish_my_data-1.3.17 spec/models/publish_my_data/concept_scheme_spec.rb
publish_my_data-1.3.16 spec/models/publish_my_data/concept_scheme_spec.rb
publish_my_data-1.3.15 spec/models/publish_my_data/concept_scheme_spec.rb
publish_my_data-1.3.14 spec/models/publish_my_data/concept_scheme_spec.rb
publish_my_data-1.3.13 spec/models/publish_my_data/concept_scheme_spec.rb
publish_my_data-1.3.12 spec/models/publish_my_data/concept_scheme_spec.rb
publish_my_data-1.3.11 spec/models/publish_my_data/concept_scheme_spec.rb
publish_my_data-1.3.10 spec/models/publish_my_data/concept_scheme_spec.rb
publish_my_data-1.3.9 spec/models/publish_my_data/concept_scheme_spec.rb
publish_my_data-1.3.8 spec/models/publish_my_data/concept_scheme_spec.rb
publish_my_data-1.3.7 spec/models/publish_my_data/concept_scheme_spec.rb
publish_my_data-1.3.6 spec/models/publish_my_data/concept_scheme_spec.rb