Sha256: 5f763a81e1213f09ecb11a49fc18904ea074a78a03f5728d8b4c4e619168a6be
Contents?: true
Size: 730 Bytes
Versions: 3
Compression:
Stored size: 730 Bytes
Contents
require 'spec_helper' RSpec.describe GeoConcerns::BasicGeoMetadata do subject { VectorWork.new } it 'inherits the specified properties' do %w(title date_uploaded date_modified contributor creator date_created description identifier language part_of publisher resource_type rights source subject tag).map(&:to_sym).each do |p| expect(subject.respond_to?(p)).to be_truthy expect(subject.respond_to?("#{p}=".to_sym)).to be_truthy end end it 'defines the specified properties' do %w(coverage provenance spatial temporal issued).map(&:to_sym).each do |p| expect(subject.respond_to?(p)).to be_truthy expect(subject.respond_to?("#{p}=".to_sym)).to be_truthy end end end
Version data entries
3 entries across 3 versions & 1 rubygems