Did test server port change in Rails 2.3?

Posted by kareem on Stack Overflow See other posts from Stack Overflow or by kareem
Published on 2009-03-31T17:39:10Z Indexed on 2010/05/26 19:01 UTC
Read the original article Hit count: 331

Filed under:
|
|
|

I upgraded rails to 2.3.2 from 2.1.1 yesterday and a bunch of my tests started failing.

When I was running under 2.1.1, the test server was running on port 3000 so I had a HOST_DOMAIN variable that included the port - HOST_DOMAIN = "localhost.tst:3000". This is so my assert_redirected_to's would succeed.

Now, however, it seems that the test server is running on port 80, so the port in HOST_DOMAIN is causing tests to fail.

There's no specific reason I'm keeping the port in HOST_DOMAIN. I more want to know whether something in Rails 2.3 changed the port the test server runs on and where I can read more about why. I've searched a ton and can't find anything, so I'm going to my go-to place to ask development questions :)

Thanks in advance.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about ruby