spec/graphql/schema/object_spec.rb in graphql-1.8.7 vs spec/graphql/schema/object_spec.rb in graphql-1.8.8

- old
+ new

@@ -12,9 +12,15 @@ assert_equal 3, object_class.interfaces.size # Compatibility methods are delegated to the underlying BaseType assert object_class.respond_to?(:connection_type) end + describe "path" do + it "is the type name" do + assert_equal "Ensemble", object_class.path + end + end + it "inherits fields and interfaces" do new_object_class = Class.new(object_class) do field :newField, String, null: true field :name, String, description: "The new description", null: true end