[rspec-users] flash in story runner

Jonathan Linowes jonathan at parkerhill.com
Mon Oct 1 22:10:12 EDT 2007


is there a way to assert a flash message directly in story runner? Or  
do I have to go through the response text instead.

         Then "flash message should say success" do
           #flash[:notice].should == "User successfully invited"
           response.should have_text(/User successfully invited/)


More information about the rspec-users mailing list