Sha256: 94934bdf1aea4cf6e4c2fe6b353c562df97d3784362073066f79a2999686ca6b
Contents?: true
Size: 639 Bytes
Versions: 12
Compression:
Stored size: 639 Bytes
Contents
require 'spec_helper' module SamlIdp describe ServiceProvider do subject { described_class.new attributes } let(:attributes) { {} } it { should respond_to :fingerprint } it { should respond_to :metadata_url } it { should_not be_valid } describe "with attributes" do let(:attributes) { { fingerprint: fingerprint, metadata_url: metadata_url } } let(:fingerprint) { Default::FINGERPRINT } let(:metadata_url) { "http://localhost:3000/metadata" } its(:fingerprint) { should == fingerprint } its(:metadata_url) { should == metadata_url } it { should be_valid } end end end
Version data entries
12 entries across 12 versions & 1 rubygems