Sha256: d7709d912a5dd5212adb8f529a7ca189b0e1008ea8d986a99735cb826303f3a2
Contents?: true
Size: 587 Bytes
Versions: 4
Compression:
Stored size: 587 Bytes
Contents
require 'rspec' require 'capybara/rspec' require 'testingbot' require 'testingbot/capybara' TestingBot::config do |config| config[:desired_capabilities] = { :browserName => "firefox", :version => 9, :platform => "WINDOWS" } config[:options] = { :screenshot => false, :extra => "Some extra data" } #config.require_tunnel end describe "People", :type => :request do before :all do Capybara.current_driver = :testingbot Capybara.app_host = "http://testingbot.com" end it 'has a homepage with the word Selenium' do visit '/' page.should have_content('Selenium') end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
testingbot-0.1.7 | examples/capybara.rb |
testingbot-0.1.6 | examples/capybara.rb |
testingbot-0.1.5 | examples/capybara.rb |
testingbot-0.1.0 | examples/capybara.rb |