summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/server.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/support/server.rb b/spec/support/server.rb
index 2fea6af..51d4ed8 100644
--- a/spec/support/server.rb
+++ b/spec/support/server.rb
@@ -1,6 +1,9 @@
# frozen_string_literal: true
RSpec.configure do |config|
+ config.add_setting :http
+ config.http = Net::Hippie::Client.new
+
config.add_setting :bind_addr
config.bind_addr = ENV.fetch("BIND_ADDR", "127.0.0.1:7878")