Skip to content

Commit

Permalink
Fix spec for multiple geoLocationPolygon changes
Browse files Browse the repository at this point in the history
  • Loading branch information
richardhallett committed Mar 24, 2021
1 parent 8087419 commit ec27b37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/readers/datacite_reader_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1314,7 +1314,7 @@
expect(subject.agency).to eq("datacite")
expect(subject.schema_version).to eq("http://datacite.org/schema/kernel-4")
expect(subject.geo_locations.first["geoLocationPlace"]).to eq("Zandmotor, sand suppletion area on the Dutch coast.")
expect(subject.geo_locations.first["geoLocationPolygon"].first).to eq("polygonPoint"=>{"pointLatitude"=>"52.03913926329928", "pointLongitude"=>"4.1738852605822"})
expect(subject.geo_locations.first["geoLocationPolygon"][0].first).to eq("polygonPoint"=>{"pointLatitude"=>"52.03913926329928", "pointLongitude"=>"4.1738852605822"})
end

it "Schema 4.4 from string" do
Expand Down

0 comments on commit ec27b37

Please sign in to comment.