Hi Jack Sorry, yes thats what I was trying to say, (its part of rails not the tests). You should check the right status code is being sent during the redirect to prevent that page being seen by users (even momentarily!)
Jon Rowe --------------------------- [email protected] jonrowe.co.uk On 2 August 2019 at 07:45, Jack R-G wrote: > This turned out to not have anything to do with the operation of any of the > testing framework. It was due to a code change in my project that invalidated > most if not all of the controller tests. I was redirecting requests directed > to bare domain names (no "www.") to the canonical ("www.") domain name. Don't > ask why - you don't want to know. > > On Monday, July 29, 2019 at 5:01:40 PM UTC-7, Jack R-G wrote: -- You received this message because you are subscribed to the Google Groups "rspec" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/dejalu-217-78742a70-7dc2-4ca4-815c-bb6460749fcb%40jonrowe.co.uk.
