summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-05-09 16:56:50 -0600
committermo khan <mo.khan@gmail.com>2020-05-09 16:56:50 -0600
commit9a7f2abf29f6a06b0bf64d05a355209f78de0808 (patch)
tree3826253a7f8a220bdc7b5a2aabd70ffe794875f6 /spec/support
parent717ffcaa740623f8c6735201eada177d3088cde6 (diff)
reset http befor each spec
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/http.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/support/http.rb b/spec/support/http.rb
new file mode 100644
index 0000000..4ba08b0
--- /dev/null
+++ b/spec/support/http.rb
@@ -0,0 +1,7 @@
+# frozen_string_literal: true
+
+RSpec.configure do |config|
+ config.before do
+ Spandx.http = Spandx::Core::Http.new
+ end
+end