Skip to content

Commit 7b28959

Browse files
committed
fix spec
1 parent 1ef1a6a commit 7b28959

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/omniauth/strategies/microsoft_graph_oauth2_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
end
152152

153153
it 'should set default scope to email,profile' do
154-
expect(subject.authorize_params['scope']).to eq('openid email profile https://graph.microsoft.com/User.Read')
154+
expect(subject.authorize_params['scope']).to eq('offline_access openid email profile https://graph.microsoft.com/User.Read')
155155
end
156156

157157
it 'should support space delimited scopes' do

0 commit comments

Comments
 (0)