Module: ActionController

Defined in:
lib/jquery/jquery_selector_assertions.rb,
lib/jquery/jquery_json_response.rb,
lib/jquery/secret_sauce/controller/ui_grid_controls.rb,
lib/jquery/secret_sauce/controller/ui_dialog_controls.rb

Overview

jQuery Selector Assertions (modifications to the prototype/scriptaculous assertions)

From http://pastie.org/303776
  1. Make sure to use ‘#’ prefix when referring to element IDs in assert_select_rjs(), like this:

    assert_select_rjs :replace_html, '#someid'
    

    instead of prototype convention:

    assert_select_rjs :replace_html, 'someid'
    

We monkey-patch some RJS-matching constants for assert_select_rjs to work with jQuery-based code as opposed to Prototype’s:

Defined Under Namespace

Modules: Assertions Classes: Base