--- !ruby/object:RI::ClassDescription 
attributes: []

class_methods: []

comment: 
- !ruby/struct:SM::Flow::P 
  body: Adds the <tt>assert_select</tt> method for use in Rails functional test cases, which can be used to make assertions on the response HTML of a controller action. You can also call <tt>assert_select</tt> within another <tt>assert_select</tt> to make assertions on elements selected by the enclosing assertion.
- !ruby/struct:SM::Flow::P 
  body: Use <tt>css_select</tt> to select elements without making an assertions, either from the response HTML or elements selected by the enclosing assertion.
- !ruby/struct:SM::Flow::P 
  body: "In addition to HTML responses, you can make the following assertions:"
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>assert_select_rjs</tt> - Assertions on HTML content of RJS update and
  - !ruby/struct:SM::Flow::VERB 
    body: "  insertion operations.\n"
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>assert_select_encoded</tt> - Assertions on HTML encoded inside XML,
  - !ruby/struct:SM::Flow::VERB 
    body: "  for example for dealing with feed item descriptions.\n"
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>assert_select_email</tt> - Assertions on the HTML body of an e-mail.
  type: :BULLET
- !ruby/struct:SM::Flow::P 
  body: Also see HTML::Selector to learn how to use selectors.
constants: 
- !ruby/object:RI::Constant 
  comment: 
  name: RJS_STATEMENTS
  value: "{             :replace              => /Element\\.replace/,             :replace_html         => /Element\\.update/,             :chained_replace      => /\\.replace/,             :chained_replace_html => /\\.update/,             :remove               => /Element\\.remove/,             :show                 => /Element\\.show/,             :hide                 => /Element\\.hide/,             :toggle                 => /Element\\.toggle/"
- !ruby/object:RI::Constant 
  comment: 
  name: RJS_INSERTIONS
  value: "[:top, :bottom, :before, :after]"
- !ruby/object:RI::Constant 
  comment: 
  name: RJS_PATTERN_HTML
  value: /"((\\"|[^"])*)"/
- !ruby/object:RI::Constant 
  comment: 
  name: RJS_PATTERN_EVERYTHING
  value: "Regexp.new(\"#{RJS_STATEMENTS[:any]}\\\\(\\\"([^\\\"]*)\\\", #{RJS_PATTERN_HTML}\\\\)\",                                               Regexp::MULTILINE)"
- !ruby/object:RI::Constant 
  comment: 
  name: RJS_PATTERN_UNICODE_ESCAPED_CHAR
  value: /\\u([0-9a-zA-Z]{4})/
full_name: ActionController::Assertions::SelectorAssertions
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: assert_select
- !ruby/object:RI::MethodSummary 
  name: assert_select_email
- !ruby/object:RI::MethodSummary 
  name: assert_select_encoded
- !ruby/object:RI::MethodSummary 
  name: assert_select_rjs
- !ruby/object:RI::MethodSummary 
  name: css_select
- !ruby/object:RI::MethodSummary 
  name: response_from_page_or_rjs
- !ruby/object:RI::MethodSummary 
  name: unescape_rjs
name: SelectorAssertions
superclass: 
