I was able to work around this problem by adding ':type => :controller' to 
my controller specs.  Now everything works as before.

BTW - the problem spec resided under the "spec/controllers" directory.  In 
rspec2 the ':type => :controller' parameter was set automatically.


On Monday, June 2, 2014 1:44:01 PM UTC-7, AndyL wrote:
>
> To test subdomains in rspec2, I used a line like 'request.host = 
> "#{@subdomain}.testdomain.com" ' in a before(:each) clause.
>
> With rspec3, it looks like there is no request object.  How can I setup 
> custom subdomains using rspec3 ??
>

-- 
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rspec/5df39f9f-f66f-4058-b72f-88cb343daf6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to