Add coverage for StatusTrend
and PreviewCardTrend
models, add locales
class method to RankedTrend
(#32688)
This commit is contained in:
parent
df3b954720
commit
babee06794
9 changed files with 64 additions and 4 deletions
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
|
Loading…
Add table
Add a link
Reference in a new issue