Sha256: 7097a3e159923135cb6818565f4a48bf1d112130454dedee0071c1ea6d97c9a8

Contents?: true

Size: 293 Bytes

Versions: 57

Compression:

Stored size: 293 Bytes

Contents

require 'pact/symbolize_keys'

module Pact
  module SymbolizeKeys
    describe "#symbolize_keys" do
      context "when nil is provided" do
        include Pact::SymbolizeKeys

        it "returns nil" do
          expect(symbolize_keys(nil)).to be nil
        end
      end
    end
  end
end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
pact-support-1.5.1 spec/lib/pact/symbolize_keys_spec.rb
pact-support-1.5.0 spec/lib/pact/symbolize_keys_spec.rb
pact-support-1.4.0 spec/lib/pact/symbolize_keys_spec.rb
pact-support-1.3.1 spec/lib/pact/symbolize_keys_spec.rb
pact-support-1.3.0 spec/lib/pact/symbolize_keys_spec.rb
pact-support-1.2.99.alpha.1 spec/lib/pact/symbolize_keys_spec.rb
pact-support-1.3.0.alpha.2 spec/lib/pact/symbolize_keys_spec.rb
pact-support-1.3.0.alpha.1 spec/lib/pact/symbolize_keys_spec.rb
pact-support-1.2.5 spec/lib/pact/symbolize_keys_spec.rb
pact-support-1.2.4 spec/lib/pact/symbolize_keys_spec.rb
pact-support-1.2.3 spec/lib/pact/symbolize_keys_spec.rb
pact-support-1.2.2 spec/lib/pact/symbolize_keys_spec.rb
pact-support-1.2.1 spec/lib/pact/symbolize_keys_spec.rb
pact-support-1.2.0 spec/lib/pact/symbolize_keys_spec.rb
pact-support-1.1.8 spec/lib/pact/symbolize_keys_spec.rb
pact-support-1.1.7 spec/lib/pact/symbolize_keys_spec.rb
pact-support-1.1.6 spec/lib/pact/symbolize_keys_spec.rb
pact-support-1.1.5 spec/lib/pact/symbolize_keys_spec.rb
pact-support-1.1.4 spec/lib/pact/symbolize_keys_spec.rb
pact-support-1.1.3 spec/lib/pact/symbolize_keys_spec.rb