Sha256: 38efae4fcd1eda70f948a5b4e61ec5235f5e8354c872744b0c34555ee2c091a3
Contents?: true
Size: 470 Bytes
Versions: 3
Compression:
Stored size: 470 Bytes
Contents
# encoding: utf-8 require 'test/helper' class Nanoc3::Extra::FileProxyTest < MiniTest::Unit::TestCase include Nanoc3::TestHelpers def test_create_many if_implemented do # Create test file File.open('test.txt', 'w') { |io| } # Create lots of file proxies count = Process.getrlimit(Process::RLIMIT_NOFILE)[0] + 5 file_proxies = [] count.times { file_proxies << Nanoc3::Extra::FileProxy.new('test.txt') } end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
nanoc3-3.1.9 | test/extra/test_file_proxy.rb |
nanoc3-3.1.8 | test/extra/test_file_proxy.rb |
nanoc3-3.2.0a4 | test/extra/test_file_proxy.rb |