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

@ -358,7 +358,7 @@ class TodosControllerTest < ActionController::TestCase
"show_from(1i)"=>"", "show_from(2i)"=>"", "show_from(3i)"=>"",
"project_id"=>"1",
"notes"=>"test notes", "description"=>"test_mobile_create_action", "state"=>"0"}}
assert_redirected_to '/m'
assert_redirected_to '/mobile'
end
def test_mobile_create_action_renders_new_template_when_save_fails

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