Sha256: 4d33e4fa8848e1e0c07f16a7d0d723318b62fde80bab49bdd2bb59a4213f8740

Contents?: true

Size: 451 Bytes

Versions: 4

Compression:

Stored size: 451 Bytes

Contents

require 'rubygems'
require "selenium/client"
require 'rspec'
require 'testingbot'
require 'testingbot/tunnel'

TestingBot::config do |config|
  config[:desired_capabilities] = [{ :browserName => "chrome", :platform => "WINDOWS" }]
end

# rspec 2
describe "People", :type => :selenium, :multibrowser => true do
    it "can find the right title" do    
      page.navigate.to "http://www.google.com"
      page.title.should eql("Google")   
    end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
testingbot-0.1.4 examples/test_rspec.rb
testingbot-0.1.3 examples/test_rspec.rb
testingbot-0.1.2 examples/test_rspec.rb
testingbot-0.1.1 examples/test_rspec.rb