Fix action mailer tests after old mapper removal
This commit is contained in:
parent
ca3936dbd6
commit
b7bfeaa9fc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue