Skip to content

Commit

Permalink
Update rails test
Browse files Browse the repository at this point in the history
  • Loading branch information
rmosolgo committed Sep 8, 2022
1 parent f5aa4bc commit 9f16823
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/integration/rails/graphql/schema_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,12 @@
it "contains built-in directives" do
schema = GraphQL::Schema

assert_equal ['deprecated', 'include', 'skip'], schema.directives.keys.sort
assert_equal ['deprecated', 'include', 'oneOf', 'skip'], schema.directives.keys.sort

assert_equal GraphQL::Schema::Directive::Deprecated, schema.directives['deprecated']
assert_equal GraphQL::Schema::Directive::Include, schema.directives['include']
assert_equal GraphQL::Schema::Directive::Skip, schema.directives['skip']
assert_equal GraphQL::Schema::Directive::OneOf, schema.directives['oneOf']
end
end
end
Expand Down

0 comments on commit 9f16823

Please sign in to comment.