Displaying 1 result from an estimated 1 matches for "addnewelement".
2008 Apr 01
2
Functional Testing - page actions
Pretty simple question, I''ve tried to ajaxify some actions and the first
one I did was a delete -
def delete_job
.....
render :update do |page|
page.remove "job_#{id}"
end
....
end
and in my functional test I call this function via post
def test....
post :delete_job, :id => 1
assert_response :success
......
end
after the assert_response, how do I test that the page