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

Version Path
geo_combine-0.0.5 spec/lib/geo_combine/geoblacklight_spec.rb
geo_combine-0.0.4 spec/lib/geo_combine/geoblacklight_spec.rb
geo_combine-0.0.3 spec/lib/geo_combine/geoblacklight_spec.rb
geo_combine-0.0.2 spec/lib/geo_combine/geoblacklight_spec.rb