Sha256: 516e959f09a30e88cd05dcf5203aab462d7101f0d249124a549dbbbda397a079

Contents?: true

Size: 699 Bytes

Versions: 2

Compression:

Stored size: 699 Bytes

Contents

require File.expand_path('../spec_helper', File.dirname(__FILE__))

describe Capybara::Driver::Culerity do
  before do
    @driver = Capybara::Driver::Culerity.new(TestApp)
  end
  
  before(:all) do
    Capybara.app_host = "http://capybara-testapp.heroku.com"
    Capybara.run_server = false
  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://elabs.se/contact')
    @driver.body.should include('Edithouse eLabs AB')
  end
  
  it_should_behave_like "driver"
  it_should_behave_like "driver with javascript support"
  it_should_behave_like "driver with header support"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bjeanes-capybara-0.3.2 spec/driver/remote_culerity_driver_spec.rb
bjeanes-capybara-0.3.1 spec/driver/remote_culerity_driver_spec.rb