Sha256: 1216aa54dfd6402e95f4248beecbfddb353c5b0d63b055719f02c5c047a4949e

Contents?: true

Size: 678 Bytes

Versions: 8

Compression:

Stored size: 678 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://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

8 entries across 8 versions & 5 rubygems

Version Path
david-capybara-0.3.8 spec/driver/remote_culerity_driver_spec.rb
katzil-capybara-0.3.8 spec/driver/remote_culerity_driver_spec.rb
capybara-0.3.8 spec/driver/remote_culerity_driver_spec.rb
pr0d1r2-capybara-0.3.7 spec/driver/remote_culerity_driver_spec.rb
capybara-0.3.7 spec/driver/remote_culerity_driver_spec.rb
capybara-0.3.6 spec/driver/remote_culerity_driver_spec.rb
h13ronim-capybara-0.3.0.1 spec/driver/remote_culerity_driver_spec.rb
capybara-0.3.5 spec/driver/remote_culerity_driver_spec.rb