Sha256: 74f94c250979587f8c3943950abf73395993b691036d34a5c2e3584e43dc3af8
Contents?: true
Size: 413 Bytes
Versions: 46
Compression:
Stored size: 413 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), "helper")) class TestGc < Nokogiri::TestCase def test_dont_hurt_em_why content = File.open("#{File.dirname(__FILE__)}/files/dont_hurt_em_why.xml").read ndoc = Nokogiri::XML(content) 2.times do info = ndoc.search('status text').first.inner_text url = ndoc.search('user name').first.inner_text GC.start end end end
Version data entries
46 entries across 46 versions & 2 rubygems