Sha256: 45a6071d099b54de65e72b6dbe941e178a4e478ee616252f76f202ec478dcdff
Contents?: true
Size: 784 Bytes
Versions: 7
Compression:
Stored size: 784 Bytes
Contents
require 'rspec' if ENV['COVERALL'] require 'coveralls' Coveralls.wear! end $:.unshift(File.dirname(__FILE__) + '/lib') require 'dnsimple' unless defined?(SPEC_ROOT) SPEC_ROOT = File.expand_path("../", __FILE__) end CONFIG = { 'username' => 'username', 'password' => 'password', 'base_uri' => 'https://api.sandbox.dnsimple.com/', 'host' => 'api.sandbox.dnsimple.com' } Dnsimple::Client.base_uri = CONFIG['base_uri'] Dnsimple::Client.username = CONFIG['username'] Dnsimple::Client.password = CONFIG['password'] RSpec.configure do |c| # Silent the puts call in the commands # c.before do # @_stdout = $stdout # $stdout = StringIO.new # end # c.after do # $stdout = @_stdout # end end Dir[File.join(SPEC_ROOT, "support/**/*.rb")].each { |f| require f }
Version data entries
7 entries across 7 versions & 1 rubygems