[rspec-devel] [ rspec-Patches-10631 ] redirect_to matcher doesn't respect request.host

noreply at rubyforge.org noreply at rubyforge.org
Sun May 6 11:51:55 EDT 2007


Patches item #10631, was opened at 2007-05-06 15:21
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3151&aid=10631&group_id=797

Category: rails plugin
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 3
Submitted By: Tim Lucas (toolmantim)
>Assigned to: David Chelimsky (dchelimsky)
Summary: redirect_to matcher doesn't respect request.host

Initial Comment:
The redirect_to matcher has "test.host" hard-coded everywhere, when it should be using @request.host. This problem shows up in controller tests where you set a custom request.host.


----------------------------------------------------------------------

>Comment By: David Chelimsky (dchelimsky)
Date: 2007-05-06 15:51

Message:
Applied to trunk rev 1920.

Nice patch. Thanks.

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3151&aid=10631&group_id=797


More information about the rspec-devel mailing list