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!
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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.