aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test/asset_host_test.rb
diff options
context:
space:
mode:
authorKirill Nikitin <locke23rus@gmail.com>2012-10-07 21:54:14 +0400
committerKirill Nikitin <locke23rus@gmail.com>2012-10-07 21:54:14 +0400
commit96f290eac03e1241fc1e57f119eaca72b682c5af (patch)
tree893ed86433062fb3ef11e9f0e0d8d64ebbf3405e /actionmailer/test/asset_host_test.rb
parent918f7038b3d4d4180a4d1056bb4b7b3f3b85508f (diff)
downloadrails-96f290eac03e1241fc1e57f119eaca72b682c5af.tar.gz
rails-96f290eac03e1241fc1e57f119eaca72b682c5af.tar.bz2
rails-96f290eac03e1241fc1e57f119eaca72b682c5af.zip
Update actionmailer with new hash syntax.
Diffstat (limited to 'actionmailer/test/asset_host_test.rb')
-rw-r--r--actionmailer/test/asset_host_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionmailer/test/asset_host_test.rb b/actionmailer/test/asset_host_test.rb
index 696a9f1174..32ae76a7c5 100644
--- a/actionmailer/test/asset_host_test.rb
+++ b/actionmailer/test/asset_host_test.rb
@@ -3,9 +3,9 @@ require 'action_controller'
class AssetHostMailer < ActionMailer::Base
def email_with_asset
- mail :to => 'test@localhost',
- :subject => 'testing email containing asset path while asset_host is set',
- :from => 'tester@example.com'
+ mail to: 'test@localhost',
+ subject: 'testing email containing asset path while asset_host is set',
+ from: 'tester@example.com'
end
end