Sha256: 8afb040dd7c2cb1fd73aee2fd786656c9b86dc533b6f4b015d3e64efddb74b6b

Contents?: true

Size: 642 Bytes

Versions: 7

Compression:

Stored size: 642 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) }
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

7 entries across 7 versions & 1 rubygems

Version Path
dnsimple-ruby-1.2.6 spec/spec_helper.rb
dnsimple-ruby-1.2.5 spec/spec_helper.rb
dnsimple-ruby-1.2.4 spec/spec_helper.rb
dnsimple-ruby-1.2.3 spec/spec_helper.rb
dnsimple-ruby-1.2.2 spec/spec_helper.rb
dnsimple-ruby-1.2.1 spec/spec_helper.rb
dnsimple-ruby-1.2.0 spec/spec_helper.rb