Module: TestUrlHelpers

Defined in:
lib/xing/spec_helpers/test_url_helpers.rb

Instance Method Summary collapse

Instance Method Details

#full_url(rails_path) ⇒ Object



2
3
4
# File 'lib/xing/spec_helpers/test_url_helpers.rb', line 2

def full_url(rails_path)
  return "http://127.0.0.1:"+Capybara.current_session.server.port.to_s+rails_path
end