Module: ActionController

Defined in:
lib/jquery_selector_assertions.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