fix all tests

This commit is contained in:
Reinier Balt 2011-02-03 19:30:48 +01:00
parent f0ec5647d4
commit 632c0e7255
6 changed files with 11 additions and 9 deletions

View file

@ -54,7 +54,6 @@ class UsersControllerTest < ActionController::TestCase
@no_users_before = User.find(:all).size
user_id = users(:ldap_user).id
xhr :post, :destroy, :id => user_id.to_param
assert_rjs :page, "user-#{user_id}", :remove
assert_equal @no_users_before-1, User.find(:all).size
end