I just used the response text
On 10/1/07, Jonathan Linowes <jonathan at parkerhill.com>
wrote:>
> hi,
>
> 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/)
> end
>
> linoj
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://rubyforge.org/pipermail/rspec-users/attachments/20071001/07aea0b3/attachment.html