test/test_helper.rb in bbq-0.2.0 vs test/test_helper.rb in bbq-0.2.1
- old
+ new
@@ -11,7 +11,12 @@
ActiveRecord::Base.configurations = YAML.load(File.read(File.expand_path("../dummy/config/database.yml", __FILE__)))
ActiveRecord::Base.establish_connection("test")
ActiveRecord::Migration.verbose = false
load(File.expand_path("../dummy/db/schema.rb", __FILE__))
+require 'capybara'
+Capybara.register_driver :rack_test_the_other do |app|
+ Capybara::RackTest::Driver.new(app)
+end
+
# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }