Sha256: 34eb09c05b3fdddaccdad410523fa5e73af66a800f9c91d8c383530cf05da611

Contents?: true

Size: 448 Bytes

Versions: 3

Compression:

Stored size: 448 Bytes

Contents

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

class PostageAppTest < MiniTest::Test
  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

3 entries across 3 versions & 1 rubygems

Version Path
postageapp-1.2.6 test/postageapp_test.rb
postageapp-1.2.5 test/postageapp_test.rb
postageapp-1.2.0 test/postageapp_test.rb