X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f435fce007d7817bd35f3beb93f0e3a844446154..1b181d4c1d595116dbe7fb8c1f5762d4a0d9f3f6:/test/factories/traces.rb?ds=inline diff --git a/test/factories/traces.rb b/test/factories/traces.rb index 66f810468..efc1180cd 100644 --- a/test/factories/traces.rb +++ b/test/factories/traces.rb @@ -1,10 +1,9 @@ -FactoryGirl.define do +FactoryBot.define do factory :trace do sequence(:name) { |n| "Trace #{n}.gpx" } sequence(:description) { |n| "This is trace #{n}" } - # Fixme requires User Factory - user_id 1 + user timestamp Time.now inserted true