Sha256: 8ca33eb5dcd15122bb4ba28a11f8a53c91b6a79e89324de0b87dfde1be41dab4

Contents?: true

Size: 197 Bytes

Versions: 36

Compression:

Stored size: 197 Bytes

Contents

describe Hash, "#as_avro" do
  it "coerces the keys and values to Avro" do
    x = double(as_avro: "x")
    y = double(as_avro: "y")

    expect({ x => y }.as_avro).to eq({ "x" => "y" })
  end
end

Version data entries

36 entries across 36 versions & 2 rubygems

Version Path
avro_turf-1.17.0 spec/core_ext/hash_spec.rb
avro_turf-1.16.0 spec/core_ext/hash_spec.rb
avro_turf-1.15.0 spec/core_ext/hash_spec.rb
avro_turf-1.14.0 spec/core_ext/hash_spec.rb
avro_turf-1.13.0 spec/core_ext/hash_spec.rb
avro_turf-1.12.0 spec/core_ext/hash_spec.rb
avro_turf-1.11.0 spec/core_ext/hash_spec.rb
avro_turf-1.10.0 spec/core_ext/hash_spec.rb
avro_turf-1.9.0 spec/core_ext/hash_spec.rb
avro_turf-1.8.0 spec/core_ext/hash_spec.rb
avro_turf-1.7.0 spec/core_ext/hash_spec.rb
avro_turf-1.6.0 spec/core_ext/hash_spec.rb
avro_turf-1.5.0 spec/core_ext/hash_spec.rb
avro_turf-1.4.1 spec/core_ext/hash_spec.rb
avro_turf-1.4.0 spec/core_ext/hash_spec.rb
avro_turf-1.3.1 spec/core_ext/hash_spec.rb
avro_turf-1.3.0 spec/core_ext/hash_spec.rb
avro_turf-1.2.0 spec/core_ext/hash_spec.rb
avro_turf-1.1.0 spec/core_ext/hash_spec.rb
avro_turf-1.0.0 spec/core_ext/hash_spec.rb