require 'grid' require 'bacon' describe 'A simple specification' do before do options = {} 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 end after do @grid.teardown end it "should do a search on Google" do @grid.iterate do |browser| browser.goto "altentee.com" browser.title.should =~ /Automation Company/ end end end