5

Im trying to run my tests with rake spec Im using rspec,capybara with selenium as webdriver. The problem is when ever I try to run the specs It starts up the testing environment in a different port every time. I don't want this to happen as it messes up my Facebook login. How would I make the environment start in the same port every time. pls help!

Themasterhimself
  • 1,016
  • 4
  • 17
  • 25

1 Answers1

0

Look in config/initializers/webservice.rb and try setting the config.port value to something...I'm not entirely sure this will actually do what you want but it's worth looking into.

jaydel
  • 14,389
  • 14
  • 62
  • 98
  • There is no such file for me.(Im using Rails 3.0 if that is of any help) – Themasterhimself Jun 28 '11 at 13:17
  • hm, I'm in 3.0 as well. I don't remember doing anything to make that appear there. I'm installing another .rvm rails project and I'll see if/when it appears... – jaydel Jun 28 '11 at 13:32