On Jul 27, 2010, at 6:40 PM, Nicholas Wieland wrote:
> Hi *, is someone using rspec 2 and rails 3 for testing subdomains ? How do I
> test for example in a route spec tis route ?
>
> match 'profile', :to => 'users#profile', :constraints => { :subdomain =>
> /.+/ }
it "routes /profile to Use
Hi *, is someone using rspec 2 and rails 3 for testing subdomains ? How do I
test for example in a route spec tis route ?
match 'profile', :to => 'users#profile', :constraints => { :subdomain => /.+/
}
TIA,
ngw
___
rspec-users mailing list
rspec-u