We are indeed. There is no request var available in Capybara. I think
that is supposed to be taken care of by Capybara.default_host which I
have set, but still no dice. I see exciting times ahead trying to get
this working.

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