Sha256: a2ebba75db0239df105a597bb7f2b85efcdce441c80acf5b2aeba8824a3c4ea8
Contents?: true
Size: 405 Bytes
Versions: 4
Compression:
Stored size: 405 Bytes
Contents
require 'spec_helper' RSpec.describe GeoCombine::Geoblacklight do include XmlDocs let(:geobl_object){ GeoCombine::Geoblacklight.new(stanford_geobl) } describe '#to_json' do it 'returns valid json' do expect(valid_json?(geobl_object.to_json)).to be_truthy end end describe '#to_hash' do it 'returns a hash' do expect(geobl_object.to_hash).to be_an Hash end end end
Version data entries
4 entries across 4 versions & 1 rubygems