Sha256: 2f5a64632891dc11856c0c6b12706a9274600395479a5375a9280e1cb56c2527

Contents?: true

Size: 508 Bytes

Versions: 5

Compression:

Stored size: 508 Bytes

Contents

require File.dirname(__FILE__) + '/helper'

class ServicesTest < OpenX::TestCase

  test "has a default connection" do
    assert_instance_of OpenX::Services::Session, OpenX::Services.default_connection
  end

  test "can establish new connections" do
    default = OpenX::Services.default_connection
    clone   = OpenX::Services.establish_connection(OpenX.configuration)
    assert_equal OpenX::Services.default_connection, default
    assert_not_equal OpenX::Services.default_connection, clone
  end

end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
krakatoa-openx-1.9.4 test/test_services.rb
bsm-openx-1.9.4 test/test_services.rb
bsm-openx-1.9.3 test/test_services.rb
bsm-openx-1.9.2 test/test_services.rb
bsm-openx-1.9.1 test/test_services.rb