Skip to content
This repository was archived by the owner on Oct 7, 2022. It is now read-only.

Commit 9a9c126

Browse files
author
Andrej Jančič
committed
ensure nil is returned
1 parent 48f75b2 commit 9a9c126

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spec/creatubbles/base_collection_spec.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,8 @@
1010

1111
expect{client.test_objects.find('non-existing-object-id', nil_404:true)}.
1212
not_to raise_error
13+
14+
expect(client.test_objects.find('non-existing-object-id', nil_404:true)).
15+
to be_nil
1316
end
1417
end

0 commit comments

Comments
 (0)