Sha256: 8ee98bcc246c29282f001341982f9646c5211c2093816794efd16580584b6f7c
Contents?: true
Size: 1.35 KB
Versions: 5
Compression:
Stored size: 1.35 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 :single_logout_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
5 entries across 5 versions & 2 rubygems