Skip to content

Commit

Permalink
Including Capybara::DSL instead of Capybara. Hope you're using a rece…
Browse files Browse the repository at this point in the history
…nt Capybara!
  • Loading branch information
pat committed Sep 2, 2011
1 parent 398267f commit 18c8b9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions HISTORY
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Edge:
* Including Capybara::DSL instead of Capybara.
* Require 3.1.0 or better.
* Allow for JRuby in the database.yml template (Philip Arndt).

Expand Down
2 changes: 1 addition & 1 deletion lib/combustion.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def self.initialize!(*modules)
end

RSpec.configure do |config|
config.include(Capybara) if defined?(Capybara)
config.include(Capybara::DSL) if defined?(Capybara)

config.include(Combustion::Application.routes.url_helpers)
config.include(Combustion::Application.routes.mounted_helpers)
Expand Down

0 comments on commit 18c8b9f

Please sign in to comment.