test/minitest_helper.rb
# Returns a brand-new stream based on the config found in test/powertrack.yml.
Returns a brand-new stream based on the config found in test/powertrack.yml.
Returns a brand - new stream based on the config found in test / powertrack . yml .
def new_stream(replay=false)
    PowerTrack::Stream.new(
      powertrack_config[:username],
      powertrack_config[:password],
      powertrack_config[:account_name],
      powertrack_config[:data_source],
      replay ? 'prod' : powertrack_config[:stream_label],
      replay: replay)
  end
def new_stream ( replay = false ) PowerTrack :: Stream . new ( powertrack_config [ :username ] , powertrack_config [ :password ] , powertrack_config [ :account_name ] , powertrack_config [ :data_source ] , replay ? 'prod' : powertrack_config [ :stream_label ] , replay : replay ) end
Returns a brand-new stream based on the config found in test/powertrack.yml.
Returns a brand - new stream based on the config found in test / powertrack . yml .
replay