summaryrefslogtreecommitdiffstats
path: root/test/test_helper.rb
diff options
context:
space:
mode:
authorZack Hobson2013-12-27 13:19:57 -0800
committerZack Hobson2013-12-27 13:19:57 -0800
commit8e2e788909c6a634976c80eeb75c79af8f8ab734 (patch)
tree8314e9ad539476d0e327ad20abde667203f4115f /test/test_helper.rb
parent89867bd84610d6d5622540a7e26b6c3467d632bf (diff)
downloadhcl-8e2e788909c6a634976c80eeb75c79af8f8ab734.tar.bz2
pass http client into instance commands
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r--test/test_helper.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 47d3517..33cf499 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -28,9 +28,10 @@ require 'fakeweb'
Dir[File.dirname(__FILE__) + '/ext/*.rb'].each { |ext| require ext }
class HCl::TestCase < MiniTest::Unit::TestCase
+ attr_reader :http
def setup
FakeWeb.allow_net_connect = false
- HCl::Net.configure \
+ @http = HCl::Net.configure \
'login' => 'bob',
'password' => 'secret',
'subdomain' => 'bobclock',