Fix action mailer tests after old mapper removal

This commit is contained in:
Piotr Sarnacki 2010-09-04 13:36:35 +02:00
parent ca3936dbd6
commit b7bfeaa9fc
1 changed files with 3 additions and 5 deletions

View File

@ -56,11 +56,9 @@ class ActionMailerUrlTest < ActionMailer::TestCase
def test_signed_up_with_url def test_signed_up_with_url
UrlTestMailer.delivery_method = :test UrlTestMailer.delivery_method = :test
assert_deprecated do AppRoutes.draw do
AppRoutes.draw do |map| match ':controller(/:action(/:id))'
map.connect ':controller/:action/:id' match '/welcome' => "foo#bar", :as => "welcome"
map.welcome 'welcome', :controller=>"foo", :action=>"bar"
end
end end
expected = new_mail expected = new_mail