Ah ok. I tried that, but I can't seem to figure out what to use for the

def app
  ...
end

method in my spec though. The app is my Rails app... for now I have
something like: http://www.pastie.org/625791
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.

Thanks!

-Aaron

---------
Rack::Test is your friend:
http://github.com/brynary/rack-test

If you Google it, there's a fair amount of lore out there already on
using it in various contexts.  (And yes, the methods it provides work
just as well in RSpec.)
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to