X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/15b104f4ff4614aa78c01180b6a9b89dd5a1400f..b3f8d9435a30f43b969bb8e3bfcc2386ef0aa4a7:/test/factories/way.rb diff --git a/test/factories/way.rb b/test/factories/way.rb index 68826e919..f2093e305 100644 --- a/test/factories/way.rb +++ b/test/factories/way.rb @@ -1,13 +1,13 @@ FactoryBot.define do factory :way do - timestamp Time.now - visible true - version 1 + timestamp { Time.now.utc } + visible { true } + version { 1 } changeset trait :deleted do - visible false + visible { false } end trait :with_history do @@ -27,7 +27,7 @@ FactoryBot.define do factory :way_with_nodes do transient do - nodes_count 1 + nodes_count { 1 } end after(:create) do |way, evaluator|