Commit 4b71cdfa375f1813c001d62f9a3265af663217fa

Authored by Antonio Terceiro
1 parent 8de4f2de

Noosfero#url_options: fix selenium tests for Capybara > 2.0

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/noosfero.rb
... ... @@ -95,7 +95,7 @@ module Noosfero
95 95 development_url_options
96 96 when 'cucumber'
97 97 if Capybara.current_driver == :selenium
98   - { :host => Capybara.current_session.driver.rack_server.host, :port => Capybara.current_session.driver.rack_server.port }
  98 + { :host => Capybara.current_session.server.host, :port => Capybara.current_session.server.port }
99 99 end
100 100 end || { }
101 101 end
... ...