From 6c980dcd4745aca7ae938476d0f23eeb2a2a71ec Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Fri, 1 Apr 2022 13:54:55 +0100 Subject: [PATCH] Don't actually need octal literals --- spec/factories/case_log.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/factories/case_log.rb b/spec/factories/case_log.rb index e869d8e7f..1ee6130ea 100644 --- a/spec/factories/case_log.rb +++ b/spec/factories/case_log.rb @@ -129,13 +129,13 @@ FactoryBot.define do ppostc1 { "w3" } ppostc2 { "w3" } property_relet { 0 } - mrcdate { Time.utc(2020, 0o5, 0o5, 10, 36, 49) } + mrcdate { Time.utc(2020, 5, 0o5, 10, 36, 49) } mrcday { mrcdate.day } mrcmonth { mrcdate.month } mrcyear { mrcdate.year } incref { 0 } sale_completion_date { nil } - startdate { Time.utc(2022, 0o2, 0o2, 10, 36, 49) } + startdate { Time.utc(2022, 2, 2, 10, 36, 49) } day { startdate.day } month { startdate.month } year { startdate.year } @@ -148,7 +148,7 @@ FactoryBot.define do la_known { 1 } declaration { 1 } end - created_at { Time.utc(2022, 0o2, 8, 16, 52, 15) } - updated_at { Time.utc(2022, 0o2, 8, 16, 52, 15) } + created_at { Time.utc(2022, 2, 8, 16, 52, 15) } + updated_at { Time.utc(2022, 2, 8, 16, 52, 15) } end end