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