Sha256: 9d49be3252ff4b9d70f5a53ef4375b3d05505fc934321b9ec3fdf60aa82eac98
Contents?: true
Size: 908 Bytes
Versions: 12
Compression:
Stored size: 908 Bytes
Contents
require 'spec_helper' module SamlIdp describe AttributeDecorator do subject { described_class.new name: name, friendly_name: friendly_name, name_format: name_format, values: values } let(:name) { nil } let(:friendly_name) { nil } let(:name_format) { nil } let(:values) { nil } its(:name) { should be_nil } its(:friendly_name) { should be_nil } its(:name_format) { should == Saml::XML::Namespaces::Formats::Attr::URI } its(:values) { should == [] } describe "with values set" do let(:name) { "test" } let(:friendly_name) { "test too" } let(:name_format) { "some format" } let(:values) { :val } its(:name) { should == name } its(:friendly_name) { should == friendly_name } its(:name_format) { should == name_format } its(:values) { should == [values] } end end end
Version data entries
12 entries across 12 versions & 1 rubygems