Sha256: 131ec01e118c79d02a32da558340eaf683b9617dad12f449f4b1de0a0d18a2d9
Contents?: true
Size: 524 Bytes
Versions: 10
Compression:
Stored size: 524 Bytes
Contents
require 'helper' class TestIntegration < Test::Unit::TestCase def setup ExvoAuth::Config.host = "https://staging.auth.exvo.com" ExvoAuth::Config.client_id = "foo" ExvoAuth::Config.client_secret = "bar" end test "integration with staging.auth.exvo.com" do c = ExvoAuth::Autonomous::Consumer.new(:provider_id => "bar") authorization = c.send(:authorization) assert_true authorization["access_token"].size > 0 assert_equal "https://bar/api", authorization["url"] end end
Version data entries
10 entries across 10 versions & 1 rubygems