Sha256: 388aebb1dc2c86a820a428157f5d294a1ee7992aa42940acefb1f7c5d16c7b39
Contents?: true
Size: 656 Bytes
Versions: 6
Compression:
Stored size: 656 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), "test_helper")) class SettingsTest < Test::Unit::TestCase context "Settings" do setup do @settings = Onelogin::Saml::Settings.new end should "should provide getters and settings" do accessors = [ :assertion_consumer_service_url, :issuer, :sp_name_qualifier, :sp_name_qualifier, :idp_sso_target_url, :idp_cert_fingerprint, :name_identifier_format ] accessors.each do |accessor| value = Kernel.rand @settings.send("#{accessor}=".to_sym, value) assert_equal value, @settings.send(accessor) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems