Sha256: 97732ebe50f047f87197a8873031d205c73d8f20834c659e54fd9a8c3734deab

Contents?: true

Size: 360 Bytes

Versions: 1

Compression:

Stored size: 360 Bytes

Contents

module PstnHelpers
  include Torasup::Test::Helpers

  private

  def yaml_file(filename)
    File.join(File.dirname(__FILE__), "../../spec/support/#{filename}")
  end

  def configure_with_custom_data
    Torasup.configure do |config|
      config.custom_pstn_data_file = File.join(File.dirname(__FILE__), "../support", "/custom_pstn.yaml")
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
torasup-0.0.6 spec/support/pstn_helpers.rb