Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix action mailer tests after old mapper removal

  • Loading branch information...
commit b7bfeaa9fc7eaf315ce8eaae129fd0d02c9d09d0 1 parent ca3936d
@drogus drogus authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.