We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a9a99c commit a945dedCopy full SHA for a945ded
spec/omniauth/strategies/gitea_spec.rb
@@ -58,12 +58,12 @@
58
59
context '#raw_info' do
60
it 'should use relative paths' do
61
- expect(access_token).to receive(:get).with('user').and_return(response)
+ expect(access_token).to receive(:get).with('api/v1/user').and_return(response)
62
expect(subject.raw_info).to eq(parsed_response)
63
end
64
65
it 'should use the header auth mode' do
66
67
subject.raw_info
68
expect(access_token.options[:mode]).to eq(:header)
69
0 commit comments