teardown_subscriptions

teardown_subscriptions() Instance Public methods

setup_subscriptions

setup_subscriptions() Instance Public methods

process

process(*args) Instance Public methods

assert_template

assert_template(options = {}, message = nil) Instance Public methods Asserts that the request was rendered with the appropriate template file or partials. # assert that the "new" view template was rendered assert_template "new" # assert that the exact template "admin/posts/new" was rendered assert_template %r{\Aadmin/posts/new\Z} # assert that the layout 'admin' was rendered assert_template layout: 'admin' assert_template layout: 'layouts/admin' assert_template layout: :admin #

params=

params=(value) Instance Public methods Assigns the given value to the params hash. If value is a Hash, this will create an ActionController::Parameters object that has been instantiated with the given value hash.

params

params() Instance Public methods Returns a new ActionController::Parameters object that has been instantiated with the request.parameters.

response_overridden?

response_overridden?() Instance Protected methods

resourceful?

resourceful?() Instance Protected methods Checks whether the resource responds to the current format or not.

resource_location

resource_location() Instance Protected methods Returns the resource location by retrieving it from the options or returning the resources array. navigation_location api_location

resource_errors

resource_errors() Instance Protected methods