Sha256: e39f70af1efef9ce2b38c60f09a592d1426b06bc5f85ea3069f3619d419e7b6d
Contents?: true
Size: 668 Bytes
Versions: 4
Compression:
Stored size: 668 Bytes
Contents
require 'spec_helper' module DbdDataEngine describe Context do let(:context_predicates) { ['context:visibility', 'context:encryption', 'context:license', 'dc:source', 'dc:creator', 'dcterms:created']} let(:context_labels) { ['Visibility', 'Encryption', 'License', 'Source', 'Creator', 'Created']} 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
4 entries across 4 versions & 1 rubygems