summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/saml/builders/authentication_request_spec.rb5
-rw-r--r--spec/saml/service_provider_metadata_spec.rb7
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