]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/user_controller_test.rb
Remove default enabling of gravatar, check on initial confirmation of e-mail address...
[rails.git] / test / controllers / user_controller_test.rb
index 6a2769f17b2bbb329e08bf31170456fd8892fbd2..60dde019ab3164566f9dd2ae62704a8885bc8e15 100644 (file)
@@ -961,7 +961,7 @@ class UserControllerTest < ActionController::TestCase
     assert_select "contributor-terms", :count => 1 do
       assert_select "[agreed='true']"
     end
-    assert_select "img", :count => 1
+    assert_select "img", :count => 0
     assert_select "roles", :count => 1 do
       assert_select "role", :count => 0
     end
@@ -1013,7 +1013,7 @@ class UserControllerTest < ActionController::TestCase
     assert_select "contributor-terms", :count => 1 do
       assert_select "[agreed='true'][pd='false']"
     end
-    assert_select "img", :count => 1
+    assert_select "img", :count => 0
     assert_select "roles", :count => 1 do
       assert_select "role", :count => 0
     end
@@ -1334,7 +1334,7 @@ class UserControllerTest < ActionController::TestCase
     get :list, :page => 3
     assert_response :success
     assert_template :list
-    assert_select "table#user_list tr", :count => 22
+    assert_select "table#user_list tr", :count => 23
   end
 
   def test_list_post_confirm