Sha256: d98b9971cf0614920f3f6680f1be54ab0cb96df47cdff11b7024ec503a5b9db0
Contents?: true
Size: 404 Bytes
Versions: 4
Compression:
Stored size: 404 Bytes
Contents
# encoding: utf-8 class Nanoc::Extra::FileProxyTest < Nanoc::TestCase 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 << Nanoc::Extra::FileProxy.new('test.txt') } end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
nanoc-4.0.0a2 | test/extra/test_file_proxy.rb |
nanoc-4.0.0a1 | test/extra/test_file_proxy.rb |
nanoc-3.8.0 | test/extra/test_file_proxy.rb |
nanoc-3.7.5 | test/extra/test_file_proxy.rb |