discourse/spec/fabricators/search_log_fabricator.rb
Guo Xiang Tan f458cba4cb FIX: Admin search logs should filter by date instead of timestamp.
The client side filters by date so it is confusion when the data changes as each second passes.
2019-03-29 11:50:25 +08:00

6 lines
116 B
Ruby

Fabricator(:search_log) do
term "ruby"
search_type SearchLog.search_types[:header]
ip_address "127.0.0.1"
end