From 461b6f328f0031f557e2a2ed1652d8e88794e78e Mon Sep 17 00:00:00 2001 From: Grzegorz Bizon Date: Sat, 11 Nov 2017 10:17:04 +0100 Subject: [PATCH] Fix QA page refresh address by using absolute URLs This makes QA page refresh address to be absolute URL since we dropped `Capybara.app_host`, thus there is no support for relative URLs with `visit` now. --- qa/qa/page/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/qa/page/base.rb b/qa/qa/page/base.rb index d55326c5262..bdddfb877c5 100644 --- a/qa/qa/page/base.rb +++ b/qa/qa/page/base.rb @@ -5,7 +5,7 @@ module QA include Scenario::Actable def refresh - visit current_path + visit current_url end end end