spec/support/dummy/schema.rb in graphql-1.8.0.pre7 vs spec/support/dummy/schema.rb in graphql-1.8.0.pre8
- old
+ new
@@ -221,13 +221,10 @@
input_field :source, !DairyAnimalEnum do
# ensure we can define description in block
description "Where it came from"
end
- input_field :originDairy, types.String, "Dairy which produced it", default_value: "Sugar Hollow Dairy" do
- description "Ignored because arg takes precedence"
- default_value "Ignored because keyword arg takes precedence"
- end
+ input_field :originDairy, types.String, "Dairy which produced it", default_value: "Sugar Hollow Dairy"
input_field :fatContent, types.Float, "How much fat it has" do
# ensure we can define default in block
default_value 0.3
end