test/extra/test_file_proxy.rb in nanoc-3.7.4 vs test/extra/test_file_proxy.rb in nanoc-3.7.5
- old
+ new
@@ -1,17 +1,15 @@
# 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| }
+ 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