Sha256: 0815c2bfeb88b64ef0cb08478ea158bc41dd619b79cafd54f46df16d5032194b
Contents?: true
Size: 444 Bytes
Versions: 17
Compression:
Stored size: 444 Bytes
Contents
# encoding: utf-8 class Nanoc::Extra::FileProxyTest < MiniTest::Unit::TestCase include Nanoc::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 << Nanoc::Extra::FileProxy.new('test.txt') } end end end
Version data entries
17 entries across 17 versions & 1 rubygems