diff --git a/README.md b/README.md index 58784f45..787828f0 100644 --- a/README.md +++ b/README.md @@ -754,7 +754,6 @@ You can mix the DSL into any context by including Capybara::DSL: ```ruby -require 'capybara' require 'capybara/dsl' Capybara.default_driver = :webkit diff --git a/lib/capybara/rails.rb b/lib/capybara/rails.rb index e9f4cd5c..c08f929b 100644 --- a/lib/capybara/rails.rb +++ b/lib/capybara/rails.rb @@ -1,4 +1,3 @@ -require 'capybara' require 'capybara/dsl' Capybara.app = Rack::Builder.new do diff --git a/lib/capybara/rspec.rb b/lib/capybara/rspec.rb index f06603bf..00d7fe8f 100644 --- a/lib/capybara/rspec.rb +++ b/lib/capybara/rspec.rb @@ -1,4 +1,3 @@ -require 'capybara' require 'capybara/dsl' require 'rspec/core' require 'capybara/rspec/matchers'