Changeset 6181
- Timestamp:
- 02/21/07 00:40:58 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionpack/lib/action_controller/assertions/selector_assertions.rb
r6057 r6181 552 552 # page, or from all the RJS statements, depending on the type of response. 553 553 def response_from_page_or_rjs() 554 content_type = @response. headers["Content-Type"]554 content_type = @response.content_type 555 555 if content_type && content_type =~ /text\/javascript/ 556 556 body = @response.body.dup