require 'capybara/rails' require 'capybara/dsl' RSpec.configure do |c| c.include Capybara::DSL, :example_group => { :file_path => /\bspec\/integration\// } end Capybara.default_driver = :rack_test Capybara.default_selector = :css