Sha256: c79b7243e12a990aa29fe0e494ee860cc2a07ef88be9202e21b3dabac81031d6

Contents?: true

Size: 677 Bytes

Versions: 17

Compression:

Stored size: 677 Bytes

Contents

require "mblox"
require "yaml"

CONFIG = YAML::load(File.open('config.yml'))

def set_configuration
  Mblox.configure do |config|
    config.outbound_url = CONFIG['outbound_url']
    config.profile_id = CONFIG['profile_id']
    config.sender_id = CONFIG['sender_id']
    config.password = CONFIG['password']
    config.partner_name = CONFIG['partner_name']
    config.tariff = CONFIG['tariff']
    config.service_id = CONFIG['service_id']
  end
end

TEST_NUMBER = CONFIG['test_number']
LANDLINE = 6176354500

module Mblox
  class << self
    def reset_configuration
      @config = Configuration.new
    end
  end
end

RSpec.configure do |config|
  config.order = "random"
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
mblox-0.5.3 spec/spec_helper.rb
mblox-0.5.2 spec/spec_helper.rb
mblox-0.5.1 spec/spec_helper.rb
mblox-0.5.0 spec/spec_helper.rb
mblox-0.4.2 spec/spec_helper.rb
mblox-0.4.1 spec/spec_helper.rb
mblox-0.4.0 spec/spec_helper.rb
mblox-0.3.0 spec/spec_helper.rb
mblox-0.2.9 spec/spec_helper.rb
mblox-0.2.8 spec/spec_helper.rb
mblox-0.2.7 spec/spec_helper.rb
mblox-0.2.6 spec/spec_helper.rb
mblox-0.2.5 spec/spec_helper.rb
mblox-0.2.2 spec/spec_helper.rb
mblox-0.2.1 spec/spec_helper.rb
mblox-0.2.0 spec/spec_helper.rb
mblox-0.1.0 spec/spec_helper.rb