Commit ece054a
Changed files (2)
lib
saml
kit
spec
saml
lib/saml/kit/signature.rb
@@ -66,7 +66,7 @@ module Saml
end
def present?
- node
+ node.present?
end
def to_xml(pretty: false)
spec/saml/kit/signature_spec.rb
@@ -102,7 +102,7 @@ RSpec.describe Saml::Kit::Signature do
context 'when a signature is present' do
it 'returns true' do
- expect(subject).to be_present
+ expect(subject.present?).to be(true)
end
end
end