Sha256: 242edef2581df6f5f5b7dcae584e11a5f4e1a89763d17e5d98df6e39e84f2b4c
Contents?: true
Size: 1.28 KB
Versions: 3
Compression:
Stored size: 1.28 KB
Contents
require 'spec_helper' module SamlIdp describe Configurator do it { should respond_to :x509_certificate } it { should respond_to :secret_key } it { should respond_to :algorithm } it { should respond_to :organization_name } it { should respond_to :organization_url } it { should respond_to :base_saml_location } it { should respond_to :reference_id_generator } it { should respond_to :attribute_service_location } it { should respond_to :single_service_post_location } it { should respond_to :name_id } it { should respond_to :attributes } it { should respond_to :service_provider } it "has a valid x509_certificate" do subject.x509_certificate.should == Default::X509_CERTIFICATE end it "has a valid secret_key" do subject.secret_key.should == Default::SECRET_KEY end it "has a valid algorithm" do subject.algorithm.should == :sha1 end it "has a valid reference_id_generator" do subject.reference_id_generator.should respond_to :call end it "can call service provider finder" do subject.service_provider.finder.should respond_to :call end it "can call service provider metadata persister" do subject.service_provider.metadata_persister.should respond_to :call end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
saml_idp-0.2.1 | spec/lib/saml_idp/configurator_spec.rb |
saml_idp-0.2.0 | spec/lib/saml_idp/configurator_spec.rb |
saml_idp-0.2.0.pre | spec/lib/saml_idp/configurator_spec.rb |