spec/integration/client_spec.rb in ezid-client-0.11.0 vs spec/integration/client_spec.rb in ezid-client-0.12.0
- old
+ new
@@ -7,9 +7,10 @@
expect(minted).to be_success
@id = minted.id
modified = client.modify_identifier(@id, "dc.title" => "Test")
expect(modified).to be_success
retrieved = client.get_identifier_metadata(@id)
+ puts retrieved.class.to_s
expect(retrieved).to be_success
expect(retrieved.metadata).to match(/dc.title: Test/)
deleted = client.delete_identifier(@id)
expect(deleted).to be_success
expect { client.get_identifier_metadata(@id) }.to raise_error