I just used the response text<br><br><div><span class="gmail_quote">On 10/1/07, <b class="gmail_sendername">Jonathan Linowes</b> <<a href="mailto:jonathan@parkerhill.com">jonathan@parkerhill.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi,<br><br>is there a way to assert a flash message directly in story runner? Or<br>do I have to go through the response text instead.<br><br> Then "flash message should say success" do<br> #flash[:notice].should == "User successfully invited"
<br> response.should have_text(/User successfully invited/)<br> end<br><br>linoj<br>_______________________________________________<br>rspec-users mailing list<br><a href="mailto:rspec-users@rubyforge.org">
rspec-users@rubyforge.org</a><br><a href="http://rubyforge.org/mailman/listinfo/rspec-users">http://rubyforge.org/mailman/listinfo/rspec-users</a><br></blockquote></div><br>