Re: [rspec-users] Testing subdomains

2010-07-28 Thread Nicholas Wieland
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

[rspec-users] Testing subdomains

2010-07-27 Thread Nicholas Wieland
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