Remove unneeded () after visit

Change-Id: I34cccf69812be6e060d3f1dea1199da668e2ca31
This commit is contained in:
Niklas Laxström
2013-11-27 11:57:06 +02:00
committed by Nikerabbit
parent 7a9e890e06
commit 11fd508324
2 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ Given(/^that my browser's accept language is (.+)$/) do |language|
end end
When(/^I visit a random page$/) do When(/^I visit a random page$/) do
visit(RandomPage) visit RandomPage
end end
Then(/^link to the main page has text (.+)$/) do |text| Then(/^link to the main page has text (.+)$/) do |text|

View File

@@ -1,7 +1,7 @@
# encoding: utf-8 # encoding: utf-8
Given(/^I am on a wiki in Kotava language$/) do Given(/^I am on a wiki in Kotava language$/) do
visit(RandomPage) visit RandomPage
# Fake a Kotava Wiki # Fake a Kotava Wiki
@browser.execute_script( "mw.config.set( 'wgContentLanguage', 'avk' )" ) @browser.execute_script( "mw.config.set( 'wgContentLanguage', 'avk' )" )
end end
@@ -55,7 +55,7 @@ When(/^I press Control-M$/) do
end end
When(/^I go to another random page$/) do When(/^I go to another random page$/) do
visit(RandomPage) visit RandomPage
end end
Then(/^in it there must be an element with Malayalam text$/) do Then(/^in it there must be an element with Malayalam text$/) do