Sha256: 510b539645c9606384f4d8d877d7e4b4c2038cd5d04fe97f3efcd6b65b1ec4e9
Contents?: true
Size: 514 Bytes
Versions: 1
Compression:
Stored size: 514 Bytes
Contents
class TestSetup < Test::Unit::TextCase def default_test # placeholder to avoid error under Ruby 1.8.7 end def setup Inforouter.configure do |config| config.wsdl = ENV['INFOROUTER_WSDL'] || 'inforouter.wsdl' config.host = ENV['INFOROUTER_HOST'] || 'inforouter_host' config.username = ENV['INFOROUTER_USERNAME'] || 'inforouter_username' config.password = ENV['INFOROUTER_PASSWORD'] || 'inforouter_password' end end def teardown Inforouter.reset! end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
inforouter-0.2.0 | test/test_setup.rb |