[rspec-users] Testing subdomains

Nicholas Wieland nicholas.wieland at gmail.com
Tue Jul 27 21:40:20 EDT 2010


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


More information about the rspec-users mailing list