Permalink
Browse files

Fixed typos in asset_host_test

[#6501 state:committed]

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
  • Loading branch information...
1 parent f345e23 commit e4cf28f3a0491620787d8e06d3a47918c5accc9b @dalibor dalibor committed with spastorino Mar 2, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionmailer/test/asset_host_test.rb
View
4 actionmailer/test/asset_host_test.rb
@@ -29,7 +29,7 @@ def test_asset_host_as_string
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 @@ def test_asset_host_as_one_arguement_proc
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"

0 comments on commit e4cf28f

Please sign in to comment.