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