aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
diff options
context:
space:
mode:
authorDalibor Nasevic <dalibor.nasevic@gmail.com>2011-03-02 01:18:32 +0100
committerSantiago Pastorino <santiago@wyeworks.com>2011-03-02 12:48:33 -0200
commite4cf28f3a0491620787d8e06d3a47918c5accc9b (patch)
tree6ee7dbcbca5a13982eed378de515964a149faba1 /actionmailer
parentf345e2380cac2560f3bbd80defe1ef485e0d564e (diff)
downloadrails-e4cf28f3a0491620787d8e06d3a47918c5accc9b.tar.gz
rails-e4cf28f3a0491620787d8e06d3a47918c5accc9b.tar.bz2
rails-e4cf28f3a0491620787d8e06d3a47918c5accc9b.zip
Fixed typos in asset_host_test
[#6501 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Diffstat (limited to 'actionmailer')
-rw-r--r--actionmailer/test/asset_host_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionmailer/test/asset_host_test.rb b/actionmailer/test/asset_host_test.rb
index 069860ff06..b24eca5fbb 100644
--- a/actionmailer/test/asset_host_test.rb
+++ b/actionmailer/test/asset_host_test.rb
@@ -29,7 +29,7 @@ class AssetHostTest < Test::Unit::TestCase
assert_equal %Q{<img alt="Somelogo" src="http://www.example.com/images/somelogo.png" />}, mail.body.to_s.strip
end
- def test_asset_host_as_one_arguement_proc
+ def test_asset_host_as_one_argument_proc
AssetHostMailer.config.asset_host = Proc.new { |source|
if source.starts_with?('/images')
"http://images.example.com"
@@ -41,7 +41,7 @@ class AssetHostTest < Test::Unit::TestCase
assert_equal %Q{<img alt="Somelogo" src="http://images.example.com/images/somelogo.png" />}, mail.body.to_s.strip
end
- def test_asset_host_as_two_arguement_proc
+ def test_asset_host_as_two_argument_proc
ActionController::Base.config.asset_host = Proc.new {|source,request|
if request && request.ssl?
"https://www.example.com"