From ee30929fcb19f9e3b873ab542dc64c1a5acdadc3 Mon Sep 17 00:00:00 2001 From: la-ruby Date: Mon, 17 Jun 2024 20:28:26 -0700 Subject: [PATCH] Fix tests --- create-rails-app | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/create-rails-app b/create-rails-app index a0871e4..8b82ecb 100755 --- a/create-rails-app +++ b/create-rails-app @@ -288,8 +288,8 @@ testing() { mkdir test/support || true cp ~/work/create-rails-app/create-rails-app/templates/test/support/time_travel.rb test/support/ insert_line_before 'require_relative' 'require_relative "support/time_travel"' test/test_helper.rb - insert_line_after 'Add more helper methods' 'include TimeTravel' - insert_line_after "time_zone" ' config.time_zone = "UTC"' + insert_line_after 'Add more helper methods' 'include TimeTravel' test/test_helper.rb + insert_line_after "time_zone" ' config.time_zone = "UTC"' config/application.rb commit "Fix time in tests" popd }