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:
parent
ca005ed648
commit
e31537dcb6
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue