$ bundle exec rspec
Run options: include {:focus=>true}
All examples were filtered out; ignoring {:focus=>true}
Randomized with seed 47694
Failures:
1) NetboxClientRuby::Connection email and key adds the json middleware
Failure/Error:
expect(described_class.new.builder.handlers)
.to include FaradayMiddleware::ParseJson
expected [Faraday::Request::Json, Faraday::Response::Json] to include FaradayMiddleware::ParseJson
Diff:
@@ -1 +1 @@
-[FaradayMiddleware::ParseJson]
+[Faraday::Request::Json, Faraday::Response::Json]
# ./spec/netbox_client_ruby/connection_spec.rb:61:in `block (3 levels) in <top (required)>'
Finished in 2.08 seconds (files took 0.7223 seconds to load)
1643 examples, 1 failure
$ gem list | grep -i faraday
faraday (2.14.1, 1.10.5)
faraday-detailed_logger (2.6.1)
faraday-em_http (1.0.0)
faraday-em_synchrony (1.0.1)
faraday-excon (1.1.0)
faraday-httpclient (1.0.1)
faraday-multipart (1.2.0)
faraday-net_http (3.4.2, 1.0.2)
faraday-net_http_persistent (1.2.0)
faraday-patron (1.0.0)
faraday-rack (1.0.0)
faraday-retry (1.0.4)
faraday_middleware (1.2.1)