* Store browser accept language header on users * Change to tracking via user context * Remove async info code * First draft of spec * Work out tests * Delete dependents
10 lines
243 B
Ruby
10 lines
243 B
Ruby
FactoryBot.define do
|
|
factory :user_visit_context do
|
|
geolocation { "MyString" }
|
|
user_agent { "MyString" }
|
|
accept_language { "MyString" }
|
|
visit_count { 1 }
|
|
last_visit_at { "2021-10-05 00:03:52" }
|
|
user { nil }
|
|
end
|
|
end
|