include OAuth::Helper
def setup
- stub_signup_requests
+ stub_hostip_requests
end
def test_oauth10_web_app
assert_not_nil token.created_at
assert_nil token.authorized_at
assert_nil token.invalidated_at
- assert_equal options[:oauth_callback], token.callback_url
+ assert_equal_allowing_nil options[:oauth_callback], token.callback_url
assert_allowed token, client.permissions
token