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

Version Path
nanoc-3.6.1 test/extra/test_file_proxy.rb
nanoc-3.6.0 test/extra/test_file_proxy.rb
nanoc-3.5.0 test/extra/test_file_proxy.rb
nanoc-3.5.0b2 test/extra/test_file_proxy.rb
nanoc-3.5.0b1 test/extra/test_file_proxy.rb
nanoc-3.4.3 test/extra/test_file_proxy.rb
nanoc-3.4.2 test/extra/test_file_proxy.rb
nanoc-3.4.1 test/extra/test_file_proxy.rb
nanoc-3.4.0 test/extra/test_file_proxy.rb
nanoc-3.3.7 test/extra/test_file_proxy.rb
nanoc-3.3.6 test/extra/test_file_proxy.rb
nanoc-3.3.5 test/extra/test_file_proxy.rb
nanoc-3.3.4 test/extra/test_file_proxy.rb
nanoc-3.3.3 test/extra/test_file_proxy.rb
nanoc-3.3.2 test/extra/test_file_proxy.rb
nanoc-3.3.1 test/extra/test_file_proxy.rb
nanoc-3.3.0 test/extra/test_file_proxy.rb