Sha256: 00f312ef7ebc505977861e07577ef6c9d874e53c96e63bfa4d7aeb42a6979b6c

Contents?: true

Size: 693 Bytes

Versions: 1

Compression:

Stored size: 693 Bytes

Contents

require 'vcr'
require 'cgi'
require 'lib/dnsimple'

VCR.config do |c|
  c.cassette_library_dir = 'fixtures/vcr_cassettes'
  c.stub_with :fakeweb
  c.filter_sensitive_data("<USERNAME>") { CGI::escape(DNSimple::Client.username) }
  c.filter_sensitive_data("<PASSWORD>") { CGI::escape(DNSimple::Client.password) }
  # c.allow_http_connections_when_no_cassette = true
end

RSpec.configure do |c|
  c.mock_framework = :mocha
  c.extend VCR::RSpec::Macros
end

config = YAML.load(File.new(File.expand_path('~/.dnsimple.local')))

DNSimple::Client.base_uri = config['site'] || "https://test.dnsimple.com/" 
DNSimple::Client.username = config['username']
DNSimple::Client.password = config['password']

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sparqcode-dnsimple-ruby-1.2.6 spec/spec_helper.rb