discourse/spec/fabricators/web_crawler_request_fabricator.rb

6 lines
137 B
Ruby

Fabricator(:web_crawler_request) do
user_agent { sequence(:ua) { |i| "Googlebot #{i}.0" } }
date Time.zone.now.to_date
count 0
end