1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00

Squiggly heredoc is not supported in Ruby 2.2

This commit is contained in:
Elliot Winkler 2017-07-25 00:04:38 -05:00
parent ca005ed648
commit e31537dcb6

View file

@ -104,10 +104,10 @@ end
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