Sha256: cc2dd47873cfe5d2d6cae24327d783d4c4f4e1e79cc298f3cb432743d1ee7af5
Contents?: true
Size: 731 Bytes
Versions: 6
Compression:
Stored size: 731 Bytes
Contents
require 'spec_helper' RSpec.describe GeoWorks::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 keyword).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
6 entries across 6 versions & 1 rubygems