summaryrefslogtreecommitdiff
path: root/tests/browser/features/support/pages/file_does_not_exist_page.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tests/browser/features/support/pages/file_does_not_exist_page.rb')
-rw-r--r--tests/browser/features/support/pages/file_does_not_exist_page.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/browser/features/support/pages/file_does_not_exist_page.rb b/tests/browser/features/support/pages/file_does_not_exist_page.rb
index c8491f3b..90762d22 100644
--- a/tests/browser/features/support/pages/file_does_not_exist_page.rb
+++ b/tests/browser/features/support/pages/file_does_not_exist_page.rb
@@ -12,8 +12,7 @@
class FileDoesNotExistPage
include PageObject
- include URL
- page_url URL.url("File:<%=params[:page_name]%>")
+ page_url 'File:<%=params[:page_name]%>'
- div(:file_does_not_exist_message, id: "mw-imagepage-nofile")
+ div(:file_does_not_exist_message, id: 'mw-imagepage-nofile')
end