spec/integration/client_spec.rb in ezid-client-1.1.1 vs spec/integration/client_spec.rb in ezid-client-1.2.0

- old
+ new

@@ -13,10 +13,10 @@ retrieved = client.get_identifier_metadata(@id) 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 + expect { client.get_identifier_metadata(@id) }.to raise_error(Error) end end describe "initialization with a block" do it "should wrap the block in a session" do