spec/integration/client_spec.rb in ezid-client-0.7.0 vs spec/integration/client_spec.rb in ezid-client-0.8.0

- old
+ new

@@ -1,10 +1,10 @@ module Ezid RSpec.describe Client do shared_examples "an EZID client" do |client| - it "should mint and modify" do + it "should mint and modify" do minted = client.mint_identifier(TEST_ARK_SHOULDER, "_status: reserved") expect(minted).to be_success @id = minted.id modified = client.modify_identifier(@id, "dc.title" => "Test") expect(modified).to be_success @@ -23,10 +23,10 @@ expect_any_instance_of(described_class).to receive(:logout).and_call_original described_class.new do |client| expect(client.session).to be_open end end - end + end describe "authentication" do describe "#login" do it "should open a session" do expect(subject.session).to be_closed