Skip to content

Commit c8f4166

Browse files
committed
Fix integration test.
1 parent e36f5b8 commit c8f4166

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

spec/issues/962_polymorphic_entity_with_custom_documentation_spec.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,9 @@ class EntityWithNestedEmptyEntity < Grape::Entity
9393
end
9494

9595
specify do
96-
expect(hidden_entity_definition).to eql({
96+
expect(hidden_entity_definition).to include({
9797
'type' => 'object',
98-
'properties' => {},
99-
'required' => ['hidden_prop']
98+
'properties' => {}
10099
})
101100
end
102101

0 commit comments

Comments
 (0)