Sha256: 81c7b2833271398641e4ac40b5e30ca0cc7b7cdb4bf00c6990a8ef57f9b387de
Contents?: true
Size: 684 Bytes
Versions: 1
Compression:
Stored size: 684 Bytes
Contents
require 'spec_helper' module DbdDataEngine describe Context do let(:context_predicates) do ['context:visibility', 'context:encryption', 'context:license', 'dc:source', 'dc:creator', 'dcterms:created'] end let(:context_labels) do ['Visibility', 'Encryption', 'License', 'Source', 'Creator', 'Created'] end it 'has all the context predicates' do described_class.predicates.map{ |p| p[:predicate] }.should == context_predicates end it 'has all the context labels' do described_class.predicates.map{ |p| p[:label] }.should == context_labels end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dbd_data_engine-0.0.10 | spec/models/dbd_data_engine/context/predicates_spec.rb |