From e8b60894261fa12c866881e9541bd46accf7399d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Wed, 9 Dec 2015 03:48:27 +0100 Subject: [PATCH] Remove unnecessary requires "capybara/dsl.rb" already requires "capybara.rb" --- README.md | 1 - lib/capybara/rails.rb | 1 - lib/capybara/rspec.rb | 1 - 3 files changed, 3 deletions(-) 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'