Module ActionController
In: lib/jquery_selector_assertions.rb
 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:

Classes and Modules

Module ActionController::Assertions

[Validate]