mirror of
https://github.com/discourse/discourse.git
synced 2024-12-30 09:25:47 +08:00
9 lines
175 B
Ruby
9 lines
175 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
Fabricator(:topic_view_stat) do
|
||
|
topic { Fabricate(:topic) }
|
||
|
viewed_at { Time.zone.now }
|
||
|
anonymous_views { 1 }
|
||
|
logged_in_views { 1 }
|
||
|
end
|