mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
DEV: Remove autospec hacks for social auth providers
This was causing erratic test failures. Autospec continues to work after removing, so this 5-year-old code is no longer needed.
This commit is contained in:
@ -1,9 +1,5 @@
|
||||
require 'rails_helper'
|
||||
|
||||
# For autospec:
|
||||
Auth.send(:remove_const, :GoogleOAuth2Authenticator)
|
||||
load 'auth/google_oauth2_authenticator.rb'
|
||||
|
||||
describe Auth::GoogleOAuth2Authenticator do
|
||||
|
||||
it 'does not look up user unless email is verified' do
|
||||
|
Reference in New Issue
Block a user