Skip to content
  • David Heinemeier Hansson's avatar
    8b00d098
    Add assert_in_body/assert_not_in_body (#54938) · 8b00d098
    David Heinemeier Hansson authored
    * Add assert_in_body/assert_not_in_body
    
    As a simple encapsulation of checking a response body for a piece of
    text without having to go through a heavy-duty DOM operation.
    
    * Add CHANGELOG entry
    
    * Appease Rubocop
    
    * Escape text so it doesnt trigger regular expressions inadvertedly
    8b00d098
    Add assert_in_body/assert_not_in_body (#54938)
    David Heinemeier Hansson authored
    * Add assert_in_body/assert_not_in_body
    
    As a simple encapsulation of checking a response body for a piece of
    text without having to go through a heavy-duty DOM operation.
    
    * Add CHANGELOG entry
    
    * Appease Rubocop
    
    * Escape text so it doesnt trigger regular expressions inadvertedly
To find the state of this project's repository at the time of any of these versions, check out the tags.
Loading