spec/lib/identity_provider_spec.rb in saml2-2.0.2 vs spec/lib/identity_provider_spec.rb in saml2-2.1.0

- old
+ new

@@ -12,10 +12,10 @@ entity.contacts << contact idp = IdentityProvider.new idp.name_id_formats << NameID::Format::PERSISTENT idp.single_sign_on_services << Endpoint.new('https://sso.canvaslms.com/SAML2/Login') - idp.keys << Key.new('somedata', Key::Type::SIGNING) + idp.keys << KeyDescriptor.new('somedata', KeyDescriptor::Type::SIGNING) entity.roles << idp expect(Schemas.metadata.validate(Nokogiri::XML(entity.to_s))).to eq [] end