提交 be76a9f8 编写于 作者: M Mislav Marohnić

Fix test broken by OAuth URL update

上级 cad4ec45
......@@ -13,7 +13,7 @@ Feature: OAuth authentication
assert_basic_auth 'mislav', 'kitty'
assert :scopes => ['repo'],
:note => "hub for #{machine_id}",
:note_url => 'http://hub.github.com/'
:note_url => 'https://hub.github.com/'
status 201
json :token => 'OTOKEN'
}
......@@ -378,7 +378,7 @@ Feature: OAuth authentication
auth = Rack::Auth::Basic::Request.new(env)
halt 401 unless auth.credentials == %w[mislav kitty]
status 201
json :token => 'OTOKEN', :note_url => 'http://hub.github.com/'
json :token => 'OTOKEN', :note_url => 'https://hub.github.com/'
}
get('/api/v3/user', :host_name => 'git.my.org') {
json :login => 'mislav'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册