method

code

rails latest stable - Class: ActionController::TestResponseBehavior

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

code()
public

Returns a String to ensure compatibility with Net::HTTPResponse