Skip to content

Commit

Permalink
Update specification examples for changes to model naming.
Browse files Browse the repository at this point in the history
  • Loading branch information
Manfred committed Aug 7, 2024
1 parent 80a20b2 commit 6e12046
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/reynard/specification_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def setup
schema.node
)
assert_equal('array', schema.type)
assert_equal('Books', schema.model_name)
assert_equal('BooksCollection', schema.model_name)
assert_equal('Book', schema.item_schema.model_name)

operation = @specification.operation('fetchBook')
Expand All @@ -176,7 +176,7 @@ def setup
schema.node
)
assert_equal('array', schema.type)
assert_equal('Books', schema.model_name)
assert_equal('BooksCollection', schema.model_name)
assert_equal('Book', schema.item_schema.model_name)

operation = @specification.operation('fetchBook')
Expand Down

0 comments on commit 6e12046

Please sign in to comment.