Sha256: 8851b46506289de0942b3c16f23a91e0061735ef5780876a84f9e07505293018

Contents?: true

Size: 334 Bytes

Versions: 3

Compression:

Stored size: 334 Bytes

Contents

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

class TestSquall < Test::Unit::TestCase

  def test_config
    url = 'http://example.com/onapp'
    assert_equal 'user', Squall.api_user
    assert_equal 'stupidpass', Squall.api_password
    assert_not_nil Squall.api_endpoint
    assert_equal URI.parse(url), Squall.api_endpoint
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
squall-0.0.3 test/test_squall.rb
squall-0.0.2 test/test_squall.rb
squall-0.0.1 test/test_squall.rb