Module

ResponseAssertions

A small suite of assertions that test responses from Rails applications.

Public Methods
assert_redirected_to Assert that the redirection options passed in match those of the redirect called in the latest action. This match can be partial, such that assert_redirected_to(:controller => "weblog") will also match the redirection of redirect_to(:controller => "weblog", :action => "show") and so on.
assert_response Asserts that the response is one of the following types:
assert_template Asserts that the request was rendered with the appropriate template file.
Private Methods
parameterize Proxy to to_param if the object will respond to it.
recognized_request_for Recognizes the route for a given path.
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.