spec/models/identity_provider_spec.rb in osso-0.0.4 vs spec/models/identity_provider_spec.rb in osso-0.0.5.pre.alpha
- old
+ new
@@ -33,10 +33,10 @@
idp_sso_target_url: subject.sso_url,
issuer: subject.domain,
)
end
end
-
+
describe '#validate_sso_cert' do
it 'rejects an invalid cert' do
subject.update(sso_cert: 'bad-cert')
expect(subject.errors.full_messages.first).to include('x509 Certificate is malformed')