Sha256: 930fe0d5b4569c92883b4f9dd05fdd0b3fc0f8cc20e5abe3f880326f7700ae20

Contents?: true

Size: 537 Bytes

Versions: 4

Compression:

Stored size: 537 Bytes

Contents

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

TestingBot::config do |config|
  config[:desired_capabilities] = [{ :browserName => "firefox", :version => 9, :platform => "WINDOWS" }, { :browserName => "firefox", :version => 11, :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.7 examples/test_rspec.rb
testingbot-0.1.6 examples/test_rspec.rb
testingbot-0.1.5 examples/test_rspec.rb
testingbot-0.1.0 examples/test_rspec.rb