On Apr 10, 2008, at 12:48 PM, Pat Maddox wrote: > Keep in mind that not every step of every story needs to > be a round-trip request. It's even good to write some stories that > don't make requests at all!
I definitely agree with this, however I do see a difference between accessing models directly through their API (which I do) and accessing the internals of the request cycle (which I don't). > In any test, you need to control the state of the world - the test > fixture. If your test requires a bit of bootstrapping in order to get > there, that's fine. The only thing that matters is that your test > gives you confidence in the behavior you're testing. This is the ultimate bottom line. Tests are about confidence. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users