Skip to content

Commit

Permalink
update test to use #assert_nil
Browse files Browse the repository at this point in the history
Minitest is reporting a deprecation for this test
DEPRECATED: Use assert_nil if expecting nil
  • Loading branch information
zmariscal committed Sep 4, 2023
1 parent fb08e60 commit 85cbdea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/support/shared_examples/recursive_import.rb
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def should_support_recursive_import
end

books.each do |book|
assert_equal book.topic_id, nil
assert_nil book.topic_id, nil
end
end

Expand Down

0 comments on commit 85cbdea

Please sign in to comment.