lib/potassium/templates/application/recipes/testing.rb in potassium-1.3.4 vs lib/potassium/templates/application/recipes/testing.rb in potassium-1.3.5
- old
+ new
@@ -24,8 +24,9 @@
create_file 'spec/support/.keep'
run "guard init"
end
-gsub_file 'config/environments/development.rb', /config.action_mailer.raise_delivery_errors = false\n/ do
+raise_delivery_errors_regexp = /config.action_mailer.raise_delivery_errors = false\n/
+gsub_file 'config/environments/development.rb', raise_delivery_errors_regexp do
"config.action_mailer.raise_delivery_errors = true"
end