Sha256: 445634366f7ea80eaa13e949fde50ab40ed1dddd2dfeca4a53253f1504652b35
Contents?: true
Size: 793 Bytes
Versions: 81
Compression:
Stored size: 793 Bytes
Contents
require 'spec_helper' describe FormatParser::ReadLimitsConfig do it 'provides balanced values based on the initial byte read limit per parser' do config = FormatParser::ReadLimitsConfig.new(1024) expect(config.max_read_bytes_per_parser).to be_kind_of(Integer) expect(config.max_read_bytes_per_parser).to be > 0 expect(config.cache_page_size).to be_kind_of(Integer) expect(config.cache_page_size).to be > 0 expect(config.max_pagefaults_per_parser).to be_kind_of(Integer) expect(config.max_pagefaults_per_parser).to be > 0 expect(config.max_reads_per_parser).to be_kind_of(Integer) expect(config.max_reads_per_parser).to be > 0 expect(config.max_seeks_per_parser).to be_kind_of(Integer) expect(config.max_seeks_per_parser).to be > 0 end end
Version data entries
81 entries across 81 versions & 1 rubygems
Version | Path |
---|---|
format_parser-0.7.0 | spec/read_limits_config_spec.rb |