X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/05a42281abae3e981874b1935b988eb05b1efad6..5cc4e933479b7e74ed7d4425909f0915717fc1db:/test/factories/old_way.rb?ds=sidebyside diff --git a/test/factories/old_way.rb b/test/factories/old_way.rb index a7d5bdbe8..4fc0721d7 100644 --- a/test/factories/old_way.rb +++ b/test/factories/old_way.rb @@ -1,8 +1,8 @@ -FactoryGirl.define do +FactoryBot.define do factory :old_way do - timestamp Time.now - visible true - version 1 + timestamp { Time.now } + visible { true } + version { 1 } changeset association :current_way, :factory => :way