diff options
| author | mo <mo.khan@gmail.com> | 2018-01-27 10:58:47 -0700 |
|---|---|---|
| committer | mo <mo.khan@gmail.com> | 2018-01-27 10:58:47 -0700 |
| commit | 3b8aa3f32029e530658a7c345d8f46146b98d842 (patch) | |
| tree | 9a0b90a76d9d72f605b6676f8b468131a06fb38b /spec | |
| parent | 687812c1417082e1f1677625264c61d7cfd3e77f (diff) | |
remove deprecations.v1.0.0
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/saml/builders/authentication_request_spec.rb | 5 | ||||
| -rw-r--r-- | spec/saml/service_provider_metadata_spec.rb | 7 |
2 files changed, 0 insertions, 12 deletions
diff --git a/spec/saml/builders/authentication_request_spec.rb b/spec/saml/builders/authentication_request_spec.rb index 6c8c40d..92a0470 100644 --- a/spec/saml/builders/authentication_request_spec.rb +++ b/spec/saml/builders/authentication_request_spec.rb @@ -22,10 +22,5 @@ RSpec.describe Saml::Kit::Builders::AuthenticationRequest do expect(result['AuthnRequest']['Issuer']).to eql(issuer) expect(result['AuthnRequest']['NameIDPolicy']['Format']).to eql(Saml::Kit::Namespaces::PERSISTENT) end - - it 'marks acs_url as deprecated' do - subject.acs_url = FFaker::Internet.uri('https') - expect(subject.assertion_consumer_service_url).to eql(subject.acs_url) - end end end diff --git a/spec/saml/service_provider_metadata_spec.rb b/spec/saml/service_provider_metadata_spec.rb index 0bdde03..8482071 100644 --- a/spec/saml/service_provider_metadata_spec.rb +++ b/spec/saml/service_provider_metadata_spec.rb @@ -150,11 +150,4 @@ RSpec.describe Saml::Kit::ServiceProviderMetadata do expect(result.assertion_consumer_service_for(binding: :http_post).location).to eql(assertion_consumer_service_url) end end - - describe "deprecations" do - it 'resolves the old builder constant' do - subject = Saml::Kit::ServiceProviderMetadata::Builder.new - expect(subject).to be_present - end - end end |
