Clean up activity score tests

This commit is contained in:
Jose Farias
2024-11-19 14:18:27 -06:00
parent df746e5a64
commit c88fefd92a
2 changed files with 6 additions and 12 deletions
+2 -4
View File
@@ -14,10 +14,8 @@ class BubbleTest < ActiveSupport::TestCase
end
test "boosting" do
assert_changes "bubbles(:logo).activity_score", +1 do
assert_difference %w[ bubbles(:logo).boost_count Event.count ], +1 do
bubbles(:logo).boost!
end
assert_difference %w[ bubbles(:logo).boost_count bubbles(:logo).activity_score Event.count ], +1 do
bubbles(:logo).boost!
end
end