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:
David Taylor
2018-10-09 12:42:57 +01:00
parent 1d2b48557c
commit ac89a728f8
3 changed files with 0 additions and 16 deletions

View File

@ -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