summaryrefslogtreecommitdiffstats
path: root/test/app_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/app_test.rb')
-rw-r--r--test/app_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/app_test.rb b/test/app_test.rb
index de10989..4c997d7 100644
--- a/test/app_test.rb
+++ b/test/app_test.rb
@@ -40,7 +40,7 @@ class AppTest < HCl::TestCase
def test_socket_error
app = HCl::App.new
- app.expects(:show).raises(SocketError)
+ app.expects(:show).raises(Faraday::Error)
app.expects(:exit).with(1)
app.process_args('show').run
assert_match /connection failed/i, error_output