Testing newbie here. I have some AJAX code that would render an error
message back to the host using page.alert. How would I test that?
Personally I use RSpec, but Test::Unit is also fine. Thanks.
# If some error arises
render :update do |page|