Merge "Remove unneeded () after visit"
This commit is contained in:
@@ -4,7 +4,7 @@ Given(/^that my browser's accept language is (.+)$/) do |language|
|
||||
end
|
||||
|
||||
When(/^I visit a random page$/) do
|
||||
visit(RandomPage)
|
||||
visit RandomPage
|
||||
end
|
||||
|
||||
Then(/^link to the main page has text (.+)$/) do |text|
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# encoding: utf-8
|
||||
|
||||
Given(/^I am on a wiki in Kotava language$/) do
|
||||
visit(RandomPage)
|
||||
visit RandomPage
|
||||
# Fake a Kotava Wiki
|
||||
@browser.execute_script( "mw.config.set( 'wgContentLanguage', 'avk' )" )
|
||||
end
|
||||
@@ -55,7 +55,7 @@ When(/^I press Control-M$/) do
|
||||
end
|
||||
|
||||
When(/^I go to another random page$/) do
|
||||
visit(RandomPage)
|
||||
visit RandomPage
|
||||
end
|
||||
|
||||
Then(/^in it there must be an element with Malayalam text$/) do
|
||||
|
||||
Reference in New Issue
Block a user