spec/spec_helper.rb in reverse_markdown-1.0.5 vs spec/spec_helper.rb in reverse_markdown-1.1.0
- old
+ new
@@ -15,7 +15,7 @@
ReverseMarkdown.instance_variable_set(:@config, nil)
end
end
def node_for(html)
- Nokogiri::HTML.parse(html).root.child.child
+ Nokogiri::HTML.parse(html).root.children.last.child
end