Sha256: d341fcff589de8c3ffa43b04d3b13e601a25162878c950fdc665baa763075dfd

Contents?: true

Size: 296 Bytes

Versions: 8

Compression:

Stored size: 296 Bytes

Contents

module TestServer
  module SpecHelper
    module Capybara
      include ::Capybara::DSL
    end
  end
end

RSpec.configure do |c|
  c.include TestServer::SpecHelper::Capybara
  c.before(:all) do
    Capybara.default_driver    = :rack_test
    Capybara.javascript_driver = :poltergeist
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
test_server-0.2.4 spec/support/capybara.rb
test_server-0.2.3 spec/support/capybara.rb
test_server-0.2.2 spec/support/capybara.rb
test_server-0.2.1 spec/support/capybara.rb
test_server-0.2.0 spec/support/capybara.rb
test_server-0.1.2 spec/support/capybara.rb
test_server-0.1.1 spec/support/capybara.rb
test_server-0.1.0 spec/support/capybara.rb