get tests running again

This commit is contained in:
Reinier Balt 2009-08-05 21:00:41 +02:00
parent b28de88f4d
commit 4ed5567885
4 changed files with 5 additions and 5 deletions

View file

@ -52,7 +52,7 @@ class UsersControllerTest < ActionController::TestCase
def test_destroy_user
login_as :admin_user
@no_users_before = User.find(:all).size
xhr :post, :destroy, :id => users(:ldap_user).to_param
xhr :post, :destroy, :id => users(:ldap_user).id.to_param
assert_rjs :page, "user-3", :remove
assert_equal @no_users_before-1, User.find(:all).size
end