Forum: RSpec Request specs flash

Posted by Toni Tuominen (Guest)
on 2010-08-23 18:41
(Received via mailing list)
Hey,

Is there a way to test for flash content on a request spec (other than
to check the request body). I was trying to test something that
redirects so testing the content is not possible.

- Toni
Posted by David Chelimsky (Guest)
on 2010-08-23 19:08
(Received via mailing list)
On Aug 23, 2010, at 11:38 AM, Toni Tuominen wrote:

> Hey,
> 
> Is there a way to test for flash content on a request spec (other than
> to check the request body). I was trying to test something that
> redirects so testing the content is not possible.

AFAIK, no. Request specs are built on rails' integration tests, which 
are built on rack-test, which I do not believe exposes the flash.

HTH,
David
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.