Sha256: befea260c4b036b1f7c6ce3bcdce8e937743035285aca0732e1b9bc8016c075f

Contents?: true

Size: 457 Bytes

Versions: 24

Compression:

Stored size: 457 Bytes

Contents

require File.expand_path('../helper', __FILE__)

class PostageAppTest < Test::Unit::TestCase
  
  def test_method_configure
    PostageApp.configure do |config|
      config.api_key  = 'abcdefg12345'
      config.host     = 'test.test'
    end
    assert_equal 'abcdefg12345',  PostageApp.configuration.api_key
    assert_equal 'test.test',     PostageApp.configuration.host
  end
  
  def test_logger
    assert PostageApp.logger.is_a?(Logger)
  end
  
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
postageapp-1.0.23 test/postageapp_test.rb
postageapp-1.0.22 test/postageapp_test.rb
postageapp-1.0.21 test/postageapp_test.rb
postageapp-1.0.20 test/postageapp_test.rb
postageapp-1.0.19 test/postageapp_test.rb
postageapp-1.0.18 test/postageapp_test.rb
postageapp-1.0.17 test/postageapp_test.rb
postageapp-1.0.16 test/postageapp_test.rb
postageapp-1.0.15 test/postageapp_test.rb
postageapp-1.0.14 test/postageapp_test.rb
postageapp-1.0.13 test/postageapp_test.rb
postageapp-1.0.12 test/postageapp_test.rb
postageapp-1.0.11 test/postageapp_test.rb
postageapp-1.0.10 test/postageapp_test.rb
postageapp-1.0.9 test/postageapp_test.rb
postageapp-1.0.8 test/postageapp_test.rb
postageapp-1.0.7 test/postageapp_test.rb
postageapp-1.0.6 test/postageapp_test.rb
postageapp-1.0.5 test/postageapp_test.rb
postageapp-1.0.4 test/postageapp_test.rb