Add coverage for StatusTrend and PreviewCardTrend models, add locales class method to RankedTrend (#32688)
This commit is contained in:
5
spec/fabricators/preview_card_trend_fabricator.rb
Normal file
5
spec/fabricators/preview_card_trend_fabricator.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
Fabricator(:preview_card_trend) do
|
||||
preview_card
|
||||
end
|
||||
6
spec/fabricators/status_trend_fabricator.rb
Normal file
6
spec/fabricators/status_trend_fabricator.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
Fabricator(:status_trend) do
|
||||
status
|
||||
account
|
||||
end
|
||||
Reference in New Issue
Block a user