mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-25 10:16:11 +01:00
get tests running again
This commit is contained in:
parent
b28de88f4d
commit
4ed5567885
4 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue