docbrown/spec/system/authentication
Kirk Haines ed74f2f245
Abstract DatadogStatsClient to ForemStatsClient (#12304)
* This change abstracts the DatadogStatsClient into a ForemStatsClient.
The purpose of this abstraction is to set the foundation for a subsequent PR that will allow one to use New Relic for recording Forem stats, instead of Datadog, if there is a New Relic configuration found.
This specific change creates an abstraction layer that can be built upon, without changing any actual default behavior. All specs still pass.

* Use delegate instead of explicit methods.

* Delegate instead of explicit methods.

* Fix the error.

* Refactor according to the suggestions in the comments.

* Ooops.  Stats work better when all of the code is committed.

* Removing the alias of count to increment since that was done in error.
2021-01-27 11:25:44 -05:00
..
beta_access_providers_spec.rb Add Sign in with Apple (#11934) 2020-12-18 10:22:33 -06:00
creator_config_edit_spec.rb Fixes apple auth creator flow in /admin/config (#12287) 2021-01-15 08:07:34 -06:00
omniauth_redirect_uri_spec.rb Add Sign in with Apple (#11934) 2020-12-18 10:22:33 -06:00
redirects_using_referer_spec.rb Add Sign in with Apple (#11934) 2020-12-18 10:22:33 -06:00
user_logs_in_with_apple_spec.rb Abstract DatadogStatsClient to ForemStatsClient (#12304) 2021-01-27 11:25:44 -05:00
user_logs_in_with_email_spec.rb Encode emails properly before sending to /confirm-email (#12211) 2021-01-13 15:17:14 -05:00
user_logs_in_with_facebook_spec.rb Abstract DatadogStatsClient to ForemStatsClient (#12304) 2021-01-27 11:25:44 -05:00
user_logs_in_with_github_spec.rb Abstract DatadogStatsClient to ForemStatsClient (#12304) 2021-01-27 11:25:44 -05:00
user_logs_in_with_twitter_spec.rb Abstract DatadogStatsClient to ForemStatsClient (#12304) 2021-01-27 11:25:44 -05:00