Sha256: ffc2a83cb956eaecbda6641d59f439ff4a98a7552153c574174cdd0a9fff64eb

Contents?: true

Size: 253 Bytes

Versions: 12

Compression:

Stored size: 253 Bytes

Contents

# 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

Version data entries

12 entries across 12 versions & 3 rubygems

Version Path
cloudfoundry-jquery-rails-1.0.19.1 lib/jquery/rails/engine.rb
jquery-rails-1.0.19 lib/jquery/rails/engine.rb
jquery-rails-1.0.18 lib/jquery/rails/engine.rb
jquery-rails-1.0.17 lib/jquery/rails/engine.rb
jquery-rails-1.0.16 lib/jquery/rails/engine.rb
jquery-rails-1.0.15 lib/jquery/rails/engine.rb
jquery-rails-1.0.14 lib/jquery/rails/engine.rb
jquery-rails-1.0.13 lib/jquery/rails/engine.rb
jquery-rails-1.0.12 lib/jquery/rails/engine.rb
jquery-rails-1.0.11 lib/jquery/rails/engine.rb
jquery-rails-1.0.10 lib/jquery/rails/engine.rb
jquery-rails_vho-0.0.1 lib/jquery/rails/engine.rb