From: Tom Hughes Date: Sun, 13 Oct 2019 11:18:57 +0000 (+0100) Subject: Give factory created traces a size X-Git-Tag: live~2442 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/4b8f0a73890e848f6ff46ad295bc91c2363e7c1b Give factory created traces a size Traces which are marked as inserted are expected to have a size. --- diff --git a/test/factories/traces.rb b/test/factories/traces.rb index 8663ccf27..713a5be17 100644 --- a/test/factories/traces.rb +++ b/test/factories/traces.rb @@ -7,6 +7,7 @@ FactoryBot.define do timestamp { Time.now } inserted { true } + size { 10 } trait :deleted do visible { false }