Sha256: 21ddf531c224136ba5a7ccf6ebb193c7569dedf985c93513bd5ef3c69aa84de9
Contents?: true
Size: 746 Bytes
Versions: 4
Compression:
Stored size: 746 Bytes
Contents
require File.expand_path('../spec_helper', File.dirname(__FILE__)) describe Capybara::Driver::Culerity do before(:all) do Capybara.app_host = "http://capybara-testapp.heroku.com" Capybara.run_server = false @driver = Capybara::Driver::Culerity.new(TestApp) end after(:all) do Capybara.app_host = nil Capybara.run_server = true end it "should navigate to a fully qualified remote page" do @driver.visit('http://capybara-testapp.heroku.com/foo') @driver.body.should include('Another World') end it_should_behave_like "driver" it_should_behave_like "driver with javascript support" it_should_behave_like "driver with header support" it_should_behave_like "driver with status code support" end
Version data entries
4 entries across 4 versions & 3 rubygems