[rspec-users] Rails3 subdomain constraints with Cucumber and RSpec2

Cameron Caine lists at ruby-forum.com
Thu Aug 26 09:22:34 EDT 2010

I updated to rc2 and RSpec beta.20 but still get an error:

Failure/Error: { :get => "http://foo.example.com/account/new" 
}.should_not be_routable
     expected {:get=>"http://foo.example.com/account/new"} not to be 
routable, but it routes to {:controller=>"accounts", :action=>"new"}

Is this a bug? Any advice?

Many thanks

Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list