test/vimeo/advanced/auth_test.rb in vimeo-1.5.3 vs test/vimeo/advanced/auth_test.rb in vimeo-1.5.4
- old
+ new
@@ -13,11 +13,11 @@
should "recieve a valid OAuth url" do
stub_custom_get("/oauth/request_token", "advanced/auth/request_token.txt")
token = @auth.get_request_token
assert_equal true, token.callback_confirmed?
- assert_equal "http://vimeo.com/oauth/authorize?oauth_token=#{TOKEN}", token.authorize_url
+ assert_equal "https://vimeo.com/oauth/authorize?oauth_token=#{TOKEN}", token.authorize_url
end
should "receive the user's credentials after checking the OAuth token" do
stub_custom_get("/oauth/access_token", "advanced/auth/access_token.txt")
stub_post("", "advanced/auth/check_access_token.json")
@@ -25,6 +25,6 @@
assert_equal "token", auth["token"]
assert_equal "write", auth["permission"]
end
end
-end
\ No newline at end of file
+end