Skip to content

Commit 87f23a4

Browse files
committed
add empty array test
1 parent 502b691 commit 87f23a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/adapter/json_api/parse_test.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ def setup
4040
}
4141

4242
@illformed_payloads = [nil,
43+
[],
4344
{},
4445
{ 'data' => { 'attributes' => [] } },
4546
{ 'data' => { 'relationships' => [] } },

0 commit comments

Comments
 (0)