Sha256: 6654aad717f3e10f6f754239128b1ad32e40ccd3f06d201b03530c52eeee0e27
Contents?: true
Size: 526 Bytes
Versions: 2
Compression:
Stored size: 526 Bytes
Contents
require 'spec_helper' describe HH::Client do let(:connection) { HH::Client.new.connection } describe "DEFAULT_MIDDLEWARE" do it "connection use FaradayMiddleware::EncodeJson" do expect(connection.inspect).to include('FaradayMiddleware::EncodeJson') end it "response parse by ParseJson" do expect(connection.inspect).to include('FaradayMiddleware::ParseJson') end it "default adapter is NetHttp" do expect(connection.inspect).to include('Faraday::Adapter::NetHttp') end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hh-0.0.2 | spec/hh/client_spec.rb |
hh-0.0.1 | spec/hh/client_spec.rb |