Sha256: 8b8ba957e9c4b2530e05bf7c283a044cdabf783271b28ba5b518a558d85dfc51
Contents?: true
Size: 326 Bytes
Versions: 10
Compression:
Stored size: 326 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' describe DHC::Response do context 'code' do let(:code) { 200 } let(:raw_response) { OpenStruct.new(code: code) } it 'provides response code' do response = DHC::Response.new(raw_response, nil) expect(response.code).to eq code end end end
Version data entries
10 entries across 10 versions & 1 rubygems