spec/unit/identifier_spec.rb in ezid-client-1.9.2 vs spec/unit/identifier_spec.rb in ezid-client-1.9.3

- old
+ new

@@ -47,10 +47,10 @@ described_class.create("id") end end describe "with a hash metadata arg", deprecated: true do it "mints a new Identifier" do - expect(described_class).to receive(:mint).with(nil, profile: "dc", target: "http://example.com") + expect(described_class).to receive(:mint).with(nil, {profile: "dc", target: "http://example.com"}) described_class.create(profile: "dc", target: "http://example.com") end end describe "with no args", deprecated: true do it "mints a new Identifier" do