Sha256: 3ce432d86fc96932c813af54e5ce44907defaea3516d4fb3728196757d8acf96
Contents?: true
Size: 652 Bytes
Versions: 1
Compression:
Stored size: 652 Bytes
Contents
require File.expand_path('../../test_helper', __FILE__) module Propono class IntegrationTest < Minitest::Test def propono_client config_file = YAML.load_file( File.expand_path('../../config.yml', __FILE__)) @propono_client ||= Propono::Client.new do |config| config.aws_options = config_file['aws_options'] config.application_name = config_file['application_name'] end end # Wait a max of 20secs before failing the test def wait_for_thread(thread, secs = 20) (secs * 10).times do |x| return true unless thread.alive? sleep(0.1) end false end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
propono-3.0.0 | test/integration/integration_test.rb |