Did test server port change in Rails 2.3?
- by kareem
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.