Skip to content
Browse files

Fix action mailer tests after old mapper removal

  • Loading branch information...
1 parent ca3936d commit b7bfeaa9fc7eaf315ce8eaae129fd0d02c9d09d0 @drogus drogus committed Sep 4, 2010
Showing with 3 additions and 5 deletions.
  1. +3 −5 actionmailer/test/url_test.rb
View
8 actionmailer/test/url_test.rb
@@ -56,11 +56,9 @@ def teardown
def test_signed_up_with_url
UrlTestMailer.delivery_method = :test
- assert_deprecated do
- AppRoutes.draw do |map|
- map.connect ':controller/:action/:id'
- map.welcome 'welcome', :controller=>"foo", :action=>"bar"
- end
+ AppRoutes.draw do
+ match ':controller(/:action(/:id))'
+ match '/welcome' => "foo#bar", :as => "welcome"
end
expected = new_mail

0 comments on commit b7bfeaa

Please sign in to comment.
Something went wrong with that request. Please try again.