class Spec::Rails::Example::FunctionalExampleGroup
def params
params[:last_name] = "Chelimsky"
params[:first_name] = "David"
# in a helper spec
response.should have_tag("div.name","David")
render
params[:name] = "David"
# in a view spec
== Examples
view or helper.
rendering a view or calling a helper to provide data used by the
The params hash accessed within a view or helper. Use this before
def params request.parameters end