Ah true, I definitely just realized that. The reason I was trying to use rails though was to provide endpoints for the calls passing through my middleware. For that though, I can just use the dummy app. Thank you!
On Tue, Sep 22, 2009 at 10:25 AM, Stephen Eley <sfe...@gmail.com> wrote: > On Tue, Sep 22, 2009 at 8:24 AM, Aaron Gibralter > <aaron.gibral...@gmail.com> wrote: > > > > I can get the dummy_app to work, but now I'm trying to figure out how to > use > > my Rails app. I'll keep playing around and see if I can come up with > > anything. > > It sounds like you're trying to do integration testing (all the pieces > of the system working together) instead of unit testing (testing each > piece of the system). My suggestion would be to let your middleware > specs test your middleware, and your controller specs test just the > controller. You can set up stubs or tweak the request to feed it > whatever this middleware is supposed to do. > > > -- > Have Fun, > Steve Eley (sfe...@gmail.com) > ESCAPE POD - The Science Fiction Podcast Magazine > http://www.escapepod.org >
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users