Sha256: 5e86191730629e88f6591bbd42581d635e52bb32832e5d0a3b9d849f74e71eac

Contents?: true

Size: 403 Bytes

Versions: 4

Compression:

Stored size: 403 Bytes

Contents

require 'spec_helper'

describe HH::Client do
  let(:connection) { described_class.new.connection }

  describe "default middleware" do
    it "connection use Faraday::Request::Multipart" do
      expect(connection.inspect).to include('Faraday::Request::Multipart')
    end
    it "default adapter is NetHttp" do
      expect(connection.inspect).to include('Faraday::Adapter::NetHttp')
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hh-0.0.7 spec/hh/client_spec.rb
hh-0.0.6 spec/hh/client_spec.rb
hh-0.0.5 spec/hh/client_spec.rb
hh-0.0.4 spec/hh/client_spec.rb