Skip to content

Commit

Permalink
Squiggly heredoc is not supported in Ruby 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmire committed Sep 17, 2017
1 parent ca005ed commit e31537d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/support/unit/rails_application.rb
Expand Up @@ -104,10 +104,10 @@ def write_database_configuration

def add_initializer_for_time_zone_aware_types
path = 'config/initializers/configure_time_zone_aware_types.rb'
fs.write(path, <<~TEXT)
Rails.application.configure do
config.active_record.time_zone_aware_types = [:datetime, :time]
end
fs.write(path, <<-TEXT)
Rails.application.configure do
config.active_record.time_zone_aware_types = [:datetime, :time]
end
TEXT
end

Expand Down

0 comments on commit e31537d

Please sign in to comment.