Hi Pablo,
On Tue, 2009-09-29 at 08:02 +0200, J. Pablo Fernández wrote:
> Hello,
>
>
> Is it possible to follow redirects outside of Rails on an integration
> test?
>
>
> I'm trying to test my whole log in procedure and part of it includes
> authenticating with OpenID. I have rots running locally but when I'm
> suppose do be redirected to the localhost:1123/server (the rots
> server) I end up being redirected to localhost:3000/server (the rails
> server with an url that doesn't exist). It is like if the code that
> follows the redirection on integration tests is ignoring the URL. Is
> there any way to enable external redirections?
>
I haven't tested this, but are you using the fully qualified url
('http://localhost:1123/server') in your redirect?
Best regards,
Bill
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---