Remove unneeded () after visit
Change-Id: I34cccf69812be6e060d3f1dea1199da668e2ca31
This commit is contained in:
committed by
Nikerabbit
parent
7a9e890e06
commit
11fd508324
@@ -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|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user