Sha256: c989eea220006f4cb27cd85858ff9e7072ca53a21da073a3aef1c3907f74aed0
Contents?: true
Size: 404 Bytes
Versions: 5
Compression:
Stored size: 404 Bytes
Contents
require 'spec_helper' require 'napa/logger/logger' describe Napa::Logger do context '#response' do it 'returns response in the expected format' do response = Napa::Logger.response('foo', 'bar', 'baz') expect(response[:response][:status]).to eq('foo') expect(response[:response][:headers]).to eq('bar') expect(response[:response][:response]).to eq('baz') end end end
Version data entries
5 entries across 5 versions & 1 rubygems