Ah, that looks quite interesting. I'd prefer to let rails do the 404 error
handling (adding more magic to the already overwhelming amount is to much for
my brain at this point ;), but if I'll have to handle it myself this looks like
a viable solution.
Thanks,
/Christoffer
On Aug 9, 2010, at 1
On 2010-08-09 1:29 AM, christofferklang wrote:
Hello,
I'm new to rails and I'm trying to wrap my heads around how to spec
controllers using RSpec (using rails 3rc1 and rspec 2.0.0.beta.19).
The problem I've run into is when I want to test that my controllers
respond with a 404 for unfound r
Hello,
I'm new to rails and I'm trying to wrap my heads around how to spec
controllers using RSpec (using rails 3rc1 and rspec 2.0.0.beta.19).
The problem I've run into is when I want to test that my controllers respond
with a 404 for unfound records.
Whenever I run the spec, the ActiveRecor