Skip to content

Commit

Permalink
Didn't quite fully port from rjs to js
Browse files Browse the repository at this point in the history
  • Loading branch information
indirect committed May 22, 2011
1 parent 2135679 commit ba760f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jquery-rails/assert_select_jquery.rb
Expand Up @@ -57,7 +57,7 @@ def assert_select_jquery(*args, &block)

fragments = []
response.body.scan(Regexp.new(pattern)).each do |match|
doc = HTML::Document.new(unescape_rjs(match.first))
doc = HTML::Document.new(unescape_js(match.first))
doc.root.children.each do |child|
fragments.push child if child.tag?
end
Expand Down

0 comments on commit ba760f3

Please sign in to comment.