class Spec::Rails::Example::FunctionalExampleGroup

def flash

flash[:notice].should == "Success!"
post :create
== Examples

view, calling a helper or calling a controller action.
Provides access to the flash hash. Use this after rendering a
def flash
  @controller.__send__ :flash
end