projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57c4438
)
Set hostname for signed requests correctly
author
Tom Hughes
<tom@compton.nu>
Tue, 6 Aug 2013 17:50:43 +0000
(18:50 +0100)
committer
Tom Hughes
<tom@compton.nu>
Sat, 21 Sep 2013 11:03:53 +0000
(12:03 +0100)
test/integration/oauth_test.rb
patch
|
blob
|
history
diff --git
a/test/integration/oauth_test.rb
b/test/integration/oauth_test.rb
index 7ccf0917eba04b4ab07acd9c923a53b9ca3d3224..eb4a599bd1f44204ff4f84effe7e968677bea212 100644
(file)
--- a/
test/integration/oauth_test.rb
+++ b/
test/integration/oauth_test.rb
@@
-328,7
+328,7
@@
private
def signed_get(uri, options)
uri = URI.parse(uri)
uri.scheme ||= "http"
- uri.host ||=
host
+ uri.host ||=
"www.example.com"
helper = OAuth::Client::Helper.new(nil, options)