Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
la-ruby committed Jun 18, 2024
1 parent 83898ef commit ee30929
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions create-rails-app
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit ee30929

Please sign in to comment.