Sha256: dd2ad02ab15fc3ebd66509564b6be3530255cdb2b275c1fd90f279bc4185acfd
Contents?: true
Size: 563 Bytes
Versions: 2
Compression:
Stored size: 563 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" ExvoAuth::Config.debug = true 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
exvo-auth-0.9.8 | test/test_integration.rb |
exvo-auth-0.9.7 | test/test_integration.rb |