On Oct 19, 2010, at 7:07 PM, Trey wrote:
> I'm sure something is borked in my app, but I can't seem to track it
> down.
Me too, and routing as well ...
constraints( :subdomain => /.+/ ) do
match '/dashboard' => 'users#show'
end
it "routes 'http://test.example.com/dashboard' to UsersController#dashboard
with subdomain 'test'" do
{ :get => 'http://test.example.com/dashboard' }.should route_to(
:controller => 'users', :action => 'show', :subdomain => 'test' )
end
This fails, and unless I'm not crazy a very similar example was made by David
himself some time ago: http://bit.ly/bIK8fA
rails 3.0.1 and rspec 2.0.0 (and rvm too)
Did we miss something ?
ngw
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users