Sha256: 10a9c743c4e05cd57bdbbd924e66f424d489a2dfd5c84f0773a4b5ca85d156b9
Contents?: true
Size: 463 Bytes
Versions: 2
Compression:
Stored size: 463 Bytes
Contents
require_relative './helper' 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 ensure PostageApp.configuration_reset! end def test_logger assert PostageApp.logger.is_a?(Logger) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
postageapp-1.3.1 | test/postageapp_test.rb |
postageapp-1.3.0 | test/postageapp_test.rb |