Skip to content

Commit

Permalink
Fix circular require
Browse files Browse the repository at this point in the history
"capybara/dsl.rb" already requires "capybara.rb". We also update
"capybara/cucumber.rb" to catch up with this change.
  • Loading branch information
David Rodríguez committed Dec 11, 2015
1 parent bad6d56 commit 393dcb8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion lib/capybara.rb
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,6 @@ module Selenium; end

require 'capybara/helpers'
require 'capybara/session'
require 'capybara/dsl'
require 'capybara/window'
require 'capybara/server'
require 'capybara/selector'
Expand Down
2 changes: 1 addition & 1 deletion lib/capybara/cucumber.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'capybara'
require 'capybara/dsl'
require 'capybara/rspec/matchers'

World(Capybara::DSL)
Expand Down

0 comments on commit 393dcb8

Please sign in to comment.