Sha256: a7e0fb5a126d6da35b82dde6eae5af324cdbd300b31c217d1f64cd33032bbcb5

Contents?: true

Size: 658 Bytes

Versions: 4

Compression:

Stored size: 658 Bytes

Contents

require 'rspec'
require 'capybara/rspec'
require 'testingbot'
require 'testingbot/capybara'

TestingBot::config do |config|
	config[:desired_capabilities] = [{ :browserName => "internet explorer", :version => 9, :platform => "WINDOWS" }, { :browserName => "firefox", :version => 11, :platform => "WINDOWS" }]
	#config.require_tunnel
end

describe "People", :type => :request, :multibrowser => true 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 '/'
#sleep 150
p "inspect"
p page.inspect
		page.should have_content('Selenium')
	end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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