The issue is actually before getting to anything Capybara related.
It's coming from my call to member_path @member in my spec to
determine the route path to use. Looking at it this way the error
makes more sense. Not sure how much fudging I would need to do to
simulate there being a request there for the routing helpers to work
off of.

On Nov 13, 2:31 pm, Evgeniy Dolzhenko <dolze...@gmail.com> wrote:
> We're into some horrible throw-it-and-see-if-it-works loop now, but I
> can tell you
> here is what I use in my `before` blocks to test the subdomain routing
> in controller specs:
>
> request.env.merge!('HTTP_HOST' => 'hi5.test.host')
>
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to