lib/jquery/rails/engine.rb
# Configure Rails 3.1 to have assert_select_jquery() in tests module Jquery module Rails class Engine < ::Rails::Engine config.before_configuration do require "jquery/assert_select" if ::Rails.env.test? end end end end
# Configure Rails 3.1 to have assert_select_jquery() in tests module Jquery module Rails class Engine < ::Rails::Engine config.before_configuration do require "jquery/assert_select" if ::Rails.env.test? end end end end