spec/lib/xmldsig_spec.rb in xmldsig-0.4.1 vs spec/lib/xmldsig_spec.rb in xmldsig-0.5.0
- old
+ new
@@ -50,10 +50,10 @@
let(:signed_xml) { File.read('spec/fixtures/signed-with-xsd-error.xml') }
let(:signed_document) { Xmldsig::SignedDocument.new(signed_xml) }
let(:certificate) { OpenSSL::X509::Certificate.new(File.read('spec/fixtures/certificate.cer')) }
it "raises schema error" do
- expect{ signed_document.validate(certificate) }.to raise_error(Xmldsig::SchemaError)
+ expect { signed_document.validate(certificate) }.to raise_error(Xmldsig::SchemaError)
end
end
end
describe "Allows specifying a custom id attribute" do