I just used the response text

On 10/1/07, Jonathan Linowes <[EMAIL PROTECTED]> 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
> [email protected]
> http://rubyforge.org/mailman/listinfo/rspec-users
>
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to