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

Version Path
akamai_bookmarklet-0.1.2 vendor/gems/ruby/1.8/gems/nokogiri-1.3.3/test/test_gc.rb
akamai_bookmarklet-0.1.1 vendor/gems/ruby/1.8/gems/nokogiri-1.3.3/test/test_gc.rb
akamai_bookmarklet-0.1.0 vendor/gems/ruby/1.8/gems/nokogiri-1.3.3/test/test_gc.rb
nokogiri-1.3.3-x86-mswin32 test/test_gc.rb
nokogiri-1.3.3-x86-mingw32 test/test_gc.rb
nokogiri-1.3.3-java test/test_gc.rb
nokogiri-1.3.2-x86-mswin32 test/test_gc.rb
nokogiri-1.3.2-x86-mingw32 test/test_gc.rb
nokogiri-1.3.2-java test/test_gc.rb
nokogiri-1.3.0-x86-mingw32 test/test_gc.rb
nokogiri-1.3.2 test/test_gc.rb
nokogiri-1.3.3 test/test_gc.rb
nokogiri-1.0.3 test/test_gc.rb
nokogiri-1.0.4-x86-mswin32-60 test/test_gc.rb
nokogiri-1.0.4 test/test_gc.rb
nokogiri-1.0.3-x86-mswin32-60 test/test_gc.rb
nokogiri-1.0.5-x86-mswin32-60 test/test_gc.rb
nokogiri-1.0.5 test/test_gc.rb
nokogiri-1.0.6-x86-mswin32-60 test/test_gc.rb
nokogiri-1.0.6 test/test_gc.rb