No need to pluck title

Was a debugging artifact
This commit is contained in:
Jose Farias
2024-11-15 18:21:39 -06:00
parent b4e8adca47
commit f1c8ae2f5f
+1 -1
View File
@@ -36,7 +36,7 @@ class BubbleTest < ActiveSupport::TestCase
test "ordering by activity" do
bubbles(:layout).tap { |b| b.update!(boost_count: 1_000) }.rescore
assert_equal bubbles(:layout, :logo, :shipping, :text).pluck(:title), Bubble.ordered_by_activity.pluck(:title)
assert_equal bubbles(:layout, :logo, :shipping, :text), Bubble.ordered_by_activity
end
test "ordering by comments" do