Sha256: 70b9a67df0c5b6cac34036194fd3d9d6f6751a1572e5e066c6ce66736d8fe10c

Contents?: true

Size: 350 Bytes

Versions: 9

Compression:

Stored size: 350 Bytes

Contents

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

class TestSolusvm < Test::Unit::TestCase
  def test_config
    setup_solusvm
    url = 'http://www.example.com/api'
    assert_equal 'api_id', Solusvm.api_id
    assert_equal 'api_key', Solusvm.api_key
    assert_not_nil Solusvm.api_endpoint
    assert_equal URI.parse(url), Solusvm.api_endpoint
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
solusvm-0.7.0 test/test_solusvm.rb
solusvm-0.6.1 test/test_solusvm.rb
solusvm-0.6.0 test/test_solusvm.rb
solusvm-0.5.1 test/test_solusvm.rb
solusvm-0.4.3 test/test_solusvm.rb
solusvm-0.4.2 test/test_solusvm.rb
solusvm-0.4.1 test/test_solusvm.rb
solusvm-0.4.0 test/test_solusvm.rb
solusvm-0.3.3 test/test_solusvm.rb