spec/dummy/config/application.rb in nulogy_sso-0.4.0 vs spec/dummy/config/application.rb in nulogy_sso-0.5.0

- old
+ new

@@ -31,10 +31,10 @@ # -- all .rb files in that directory are automatically loaded after loading # the framework and any gems in your application. # Load required NulogySSO config so that the dummy can boot up without error. # These functions are mostly used for testing. - NulogySSO.auth_config = config_for(:auth_sso) + NulogySSO.sso_config = config_for(:sso) NulogySSO.find_user_by_email = ->(email) { User.find_by(email: email) } NulogySSO.handle_sso_error = ->(controller) { controller.render plain: "An SSO error has occurred :(" } end end