Skip to content

Commit

Permalink
Tests were failing
Browse files Browse the repository at this point in the history
  • Loading branch information
la-ruby committed Jun 18, 2024
1 parent e9effa7 commit 334194c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion create-rails-app
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ testing() {
# Fix time in tests
mkdir test/support || true
cp ~/work/create-rails-app/create-rails-app/templates/test/support/time_travel.rb test/support/
insert_line_after 'require_relative' 'require_relative "support/time_travel"' test/test_helper.rb
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"'
commit "Fix time in tests"
Expand Down

0 comments on commit 334194c

Please sign in to comment.