Rename methods to avoid confusion between OAuth and OmniAuth

This commit is contained in:
Claire
2024-02-09 15:24:17 +01:00
parent 5526788f09
commit e95b2668b6
5 changed files with 17 additions and 17 deletions

View File

@@ -96,7 +96,7 @@ describe 'OmniAuth callbacks' do
context 'when a user cannot be built' do
before do
allow(User).to receive(:find_for_oauth).and_return(User.new)
allow(User).to receive(:find_for_omniauth).and_return(User.new)
end
it 'redirects to the new user signup page' do