Sha256: 3a7a8a981ab91c3aa9402879fa174fb3a86c6dcae12fde45c8684686551814f5

Contents?: true

Size: 396 Bytes

Versions: 7

Compression:

Stored size: 396 Bytes

Contents

require "webmock/rspec"
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require "wego"
require "wego/rspec"

RSpec.configure do |config|
  config.before :suite do
    Wego.configure do |wego_config|
      wego_config.api_key  = "WEGO_API_KEY"
      wego_config.api_code = "WEGO_API_CODE"
    end
  end
end

def restore_default_config
  Wego.configuration = nil
  Wego.configure {}
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
wego-0.2.2 spec/spec_helper.rb
wego-0.2.1 spec/spec_helper.rb
wego-0.2.0 spec/spec_helper.rb
wego-0.1.5 spec/spec_helper.rb
wego-0.1.4 spec/spec_helper.rb
wego-0.1.3 spec/spec_helper.rb
wego-0.1.2 spec/spec_helper.rb