spec/integration/identifier_spec.rb in ezid-client-1.1.1 vs spec/integration/identifier_spec.rb in ezid-client-1.2.0
- old
+ new
@@ -1,7 +1,5 @@
-
-
module Ezid
RSpec.describe Identifier do
describe "CRUD operations" do
describe "create" do
@@ -45,10 +43,10 @@
describe "delete" do
subject { described_class.create(shoulder: TEST_ARK_SHOULDER, status: "reserved") }
before { subject.delete }
it "should delete the identifier" do
- expect { described_class.find(subject.id) }.to raise_error
+ expect { described_class.find(subject.id) }.to raise_error(Error)
end
end
end
end
end