Skip to content
Browse files

Map the non-test config name.

  • Loading branch information...
1 parent db6335f commit 31be1bce773adf8401098c8aa89e47895f026398 @weppos weppos committed Sep 20, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 .travis.yml
  2. +1 −1 spec/spec_helper.rb
View
2 .travis.yml
@@ -3,4 +3,4 @@ rvm:
- 1.8.7
- 1.9.2
- 1.9.3
-env: TEST_CONFIG=spec/ci/.dnsimple.test
+env: DNSIMPLE_TEST_CONFIG=spec/ci/.dnsimple.test
View
2 spec/spec_helper.rb
@@ -18,7 +18,7 @@
c.extend VCR::RSpec::Macros
end
-config = YAML.load_file(File.expand_path(ENV['TEST_CONFIG'] || '~/.dnsimple.test'))
+config = YAML.load_file(File.expand_path(ENV['DNSIMPLE_TEST_CONFIG'] || '~/.dnsimple.test'))
DNSimple::Client.base_uri = config['site'] # Example: https://test.dnsimple.com/
DNSimple::Client.username = config['username'] # Example: testusername

0 comments on commit 31be1bc

Please sign in to comment.
Something went wrong with that request. Please try again.