spec/capybara_spec.rb in capybara-0.4.1.2 vs spec/capybara_spec.rb in capybara-1.0.0.beta1

- old
+ new

@@ -15,10 +15,10 @@ end describe '.register_driver' do it "should add a new driver" do Capybara.register_driver :schmoo do |app| - Capybara::Driver::RackTest.new(app) + Capybara::RackTest::Driver.new(app) end session = Capybara::Session.new(:schmoo, TestApp) session.visit('/') session.body.should include("Hello world!") end