Sha256: 80e07a8973f760abed64bc55a57a80673658ae81bdda35b56cc3d342b9016d46

Contents?: true

Size: 299 Bytes

Versions: 2

Compression:

Stored size: 299 Bytes

Contents

require 'spec_helper'

describe ::LogfmtMarshalling do
  describe '.marshal' do
    it 'delegates work to LogfmtMarshalling::Marshaller' do
      expect_any_instance_of(::LogfmtMarshalling::Marshaller).to receive(:marshal).with 'k' => 'v'

      described_class.marshal 'k' => 'v'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
logfmt_marshalling-0.0.2 spec/logfmt_marshalling_spec.rb
logfmt_marshalling-0.0.1 spec/logfmt_marshalling_spec.rb