mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 16:28:59 +00:00
Rename methods to avoid confusion between OAuth and OmniAuth
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user