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 4222f54 commit e424813Copy full SHA for e424813
spec/unit/endpoint/authorization_spec.rb
@@ -66,7 +66,7 @@
66
it 'does not succeed if state cookie mismatches' do
67
Travis.redis.sadd('github:states', 'github-state')
68
response = get '/auth/handshake?state=github-state&code=oauth-code'
69
- expect(response.status).to eq(200)
+ expect(response.status).to eq(401)
70
expect(response.body).to eq("state mismatch")
71
Travis.redis.srem('github:states', 'github-state')
72
end
0 commit comments