summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/app_test.rb2
-rw-r--r--test/net_test.rb1
-rw-r--r--test/test_helper.rb3
3 files changed, 2 insertions, 4 deletions
diff --git a/test/app_test.rb b/test/app_test.rb
index e6dbc3d..de10989 100644
--- a/test/app_test.rb
+++ b/test/app_test.rb
@@ -50,7 +50,7 @@ class AppTest < HCl::TestCase
app = HCl::App.new
configured = states('configured').starts_as(false)
app.expects(:show).raises(HCl::HarvestMiddleware::AuthFailure).when(configured.is(false))
- app.expects(:ask).returns('xxx').times(4).when(configured.is(false))
+ app.expects(:ask).returns('xxx').times(3).when(configured.is(false))
app.expects(:write_config).then(configured.is(true))
app.expects(:show).when(configured.is(true))
app.process_args('show').run
diff --git a/test/net_test.rb b/test/net_test.rb
index 94e5ad4..8d967e5 100644
--- a/test/net_test.rb
+++ b/test/net_test.rb
@@ -6,7 +6,6 @@ class NetTest < HCl::TestCase
assert_equal 'bob', http.login
assert_equal 'secret', http.password
assert_equal 'bobclock', http.subdomain
- assert_equal true, http.ssl
end
def test_http_deep_unescape
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 273c5c4..95cb0b4 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -35,8 +35,7 @@ class HCl::TestCase < MiniTest::Test
@http = HCl::Net.new \
'login' => 'bob',
'password' => 'secret',
- 'subdomain' => 'bobclock',
- 'ssl' => true
+ 'subdomain' => 'bobclock'
end
def register_uri method, path, data={}