Browse files

test: include Capybara is deprecated, now we should use Capybara::DSL

  • Loading branch information...
1 parent 9e1924b commit bdd3ea0565ed7985d5ee8432a51b43b27251d54b @ricardovaleriano ricardovaleriano committed Jul 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 testing.markdown
View
2 testing.markdown
@@ -315,7 +315,7 @@ From `Webrat`'s wiki where you'll find more [examples][].
require 'test/unit'
class HelloWorldTest < Test::Unit::TestCase
- include Capybara
+ include Capybara::DSL
# Capybara.default_driver = :selenium # <-- use Selenium driver
def setup

0 comments on commit bdd3ea0

Please sign in to comment.