spec/support/dummy_data.rb in graphql-0.2.0 vs spec/support/dummy_data.rb in graphql-0.3.0

- old
+ new

@@ -1,11 +1,11 @@ Cheese = Struct.new(:id, :flavor, :fatContent, :source) CHEESES = { - 1 => Cheese.new(1, "Brie", 0.19, "COW"), - 2 => Cheese.new(2, "Gouda", 0.3, "COW"), + 1 => Cheese.new(1, "Brie", 0.19, 1), + 2 => Cheese.new(2, "Gouda", 0.3, 1), 3 => Cheese.new(3, "Manchego", 0.065, "SHEEP") } Milk = Struct.new(:id, :fatContent, :source) MILKS = { - 1 => Milk.new(1, 0.04, "COW"), + 1 => Milk.new(1, 0.04, 1), }