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
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