]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/user_controller_test.rb
Get all the tests passing under ruby 1.9
[rails.git] / test / functional / user_controller_test.rb
index 576eb0db9c72371a9778dcf3a08fc3359c5edc5e..4379a1d49d18c5e5bd06fa8f239c9dd8fd06a116 100644 (file)
@@ -212,7 +212,7 @@ class UserControllerTest < ActionController::TestCase
     register_email = ActionMailer::Base.deliveries.first
   
     assert_equal register_email.to[0], new_email
-    assert_match /#{@url}/, register_email.body
+    assert_match /#{@url}/, register_email.body.to_s
 
     # Check the page
     assert_redirected_to :action => 'login', :referer => nil