module RSpec::Rails::ViewExampleGroup::ExampleMethods

def params

params[:foo] = 'bar'

view:
Provides access to the params hash that will be available within the
def params
  controller.params
end