spec/graphql/language/parser_spec.rb in graphql-1.4.0 vs spec/graphql/language/parser_spec.rb in graphql-1.4.1
- old
+ new
@@ -36,10 +36,10 @@
assert_equal 1, field.selections.length
end
end
it "parses the test schema" do
- schema = DummySchema
+ schema = Dummy::Schema
schema_string = GraphQL::Schema::Printer.print_schema(schema)
document = subject.parse(schema_string)
assert_equal schema_string, document.to_query_string
end
end