test/maestrano/sso_test.rb in maestrano-0.5.0 vs test/maestrano/sso_test.rb in maestrano-0.6.0

- old
+ new

@@ -32,16 +32,16 @@ should "return the right session_check_url" do assert Maestrano::SSO.session_check_url('usr-1','f9ds8fdg7f89') == "https://maestrano.com/api/v1/auth/saml/usr-1?session=f9ds8fdg7f89" end should "return the right enabled parameter" do - assert Maestrano::SSO.enabled? == !!Maestrano.param('sso_enabled') + assert Maestrano::SSO.enabled? == !!Maestrano.param('sso.enabled') end should "return the right saml_settings" do settings = Maestrano::SSO.saml_settings assert settings.assertion_consumer_service_url == Maestrano::SSO.consume_url - assert settings.issuer == Maestrano.param('app_id') + assert settings.issuer == Maestrano.param('api.id') assert settings.idp_sso_target_url == Maestrano::SSO.idp_url assert settings.idp_cert_fingerprint == Maestrano.param('sso_x509_fingerprint') assert settings.name_identifier_format == Maestrano.param('sso_name_id_format') end \ No newline at end of file