Sha256: ea7da1bd184a379d7dab1322f0411b9b5db4d743b7a912feeaa740318cf697c0

Contents?: true

Size: 418 Bytes

Versions: 1

Compression:

Stored size: 418 Bytes

Contents

shared_examples_for "a key value formatter" do
  let(:payload) do
    {
      custom: 'data',
      status: 200,
      method: 'GET',
      path: '/',
      controller: 'welcome',
      action: 'index'
    }
  end

  subject { described_class.new.call(payload) }

  it { should include('method=GET') }
  it { should include('path=/') }
  it { should include('status=200') }
  it { should include('custom=data') }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lograge-0.3.0 spec/support/examples.rb