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

Version Path
napa-0.5.0 spec/logger/logger_spec.rb
napa-0.4.3 spec/logger/logger_spec.rb
napa-0.4.1 spec/logger/logger_spec.rb
napa-0.4.0 spec/logger/logger_spec.rb
napa-0.3.0 spec/logger/logger_spec.rb