Use assert_not_predicate in tests that have assert_predicate

This commit is contained in:
Anton Khorev 2024-01-03 16:01:17 +03:00
parent 6892ccd015
commit 3a8a997fb8
26 changed files with 91 additions and 91 deletions

View file

@ -5,6 +5,6 @@ class TracepointTest < ActiveSupport::TestCase
tracepoint = create(:tracepoint)
assert_predicate tracepoint, :valid?
tracepoint.timestamp = nil
assert_not tracepoint.valid?
assert_not_predicate tracepoint, :valid?
end
end