aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/assert_select_test.rb
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-08-29 21:08:14 -0300
committerJosé Valim <jose.valim@gmail.com>2010-08-29 21:08:14 -0300
commitba52748d05da4f95a8f371d628af97b76644bdd3 (patch)
tree0f104ebfdb7c5dfd25dba227d7e6708b904e08c6 /actionpack/test/controller/assert_select_test.rb
parent800695ad4cef33347bcfef6df7634ff533582449 (diff)
downloadrails-ba52748d05da4f95a8f371d628af97b76644bdd3.tar.gz
rails-ba52748d05da4f95a8f371d628af97b76644bdd3.tar.bz2
rails-ba52748d05da4f95a8f371d628af97b76644bdd3.zip
Remove deprecated support to <% form_for %> and several ActionController::Base methods.
Diffstat (limited to 'actionpack/test/controller/assert_select_test.rb')
-rw-r--r--actionpack/test/controller/assert_select_test.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/actionpack/test/controller/assert_select_test.rb b/actionpack/test/controller/assert_select_test.rb
index ef0df9d6a8..2600dae3c5 100644
--- a/actionpack/test/controller/assert_select_test.rb
+++ b/actionpack/test/controller/assert_select_test.rb
@@ -15,10 +15,8 @@ class AssertSelectTest < ActionController::TestCase
class AssertSelectMailer < ActionMailer::Base
def test(html)
- recipients "test <test@test.host>"
- from "test@test.host"
- subject "Test e-mail"
- part :content_type=>"text/html", :body=>html
+ mail :body => html, :content_type => "text/html",
+ :subject => "Test e-mail", :from => "test@test.host", :to => "test <test@test.host>"
end
end