Sha256: 6bb1a32e9eb0d89e4a63204bd214887933427cd92c3bdb9407c2bcf5aa414b8c

Contents?: true

Size: 558 Bytes

Versions: 13

Compression:

Stored size: 558 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(:app_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

13 entries across 13 versions & 1 rubygems

Version Path
exvo-auth-0.12.2 test/test_integration.rb
exvo-auth-0.12.1 test/test_integration.rb
exvo-auth-0.12.0 test/test_integration.rb
exvo-auth-0.11.2 test/test_integration.rb
exvo-auth-0.11.1 test/test_integration.rb
exvo-auth-0.11.0 test/test_integration.rb
exvo-auth-0.10.4 test/test_integration.rb
exvo-auth-0.10.3 test/test_integration.rb
exvo-auth-0.10.2 test/test_integration.rb
exvo-auth-0.10.1 test/test_integration.rb
exvo-auth-0.10.0 test/test_integration.rb
exvo-auth-0.9.10 test/test_integration.rb
exvo-auth-0.9.9 test/test_integration.rb