examples/testunit/basic_test.rb in grid-0.4.2 vs examples/testunit/basic_test.rb in grid-0.4.3
- old
+ new
@@ -2,11 +2,11 @@
require 'test/unit'
class SimpleTest < Test::Unit::TestCase
def setup
options = {}
- options[:controller_uri] = "druby://10.0.1.3:11235"
+ options[:controller_uri] = 'druby://10.0.1.3:11235'
options[:browser_type] = 'webdriver'
options[:browser] = 'chrome'
options[:loglevel] = Logger::DEBUG
@grid = Grid.new(options)
@grid.setup
@@ -16,10 +16,10 @@
@grid.teardown
end
def test_google
@grid.iterate do |browser|
- browser.goto "altentee.com"
+ browser.goto 'altentee.com'
assert_match /Automation Company/, browser.title
end
end
end