Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
avro_turf / spec / core_ext / enumerable_spec.rb
Size: Mime:
describe Enumerable, "#as_avro" do
  it "returns an array" do
    expect(Set.new.as_avro).to eq []
  end

  it "coerces the items to Avro" do
    x = double(as_avro: "x")
    y = double(as_avro: "y")

    expect([x, y].as_avro).to eq ["x", "y"]
  end
end