Sha256: 052ebeeae0e193b178b3d3ce44b0f365bf461ee9b6f890b3a9e8704960015fd0
Contents?: true
Size: 1.15 KB
Versions: 3
Compression:
Stored size: 1.15 KB
Contents
require 'spec_helper' describe Fluent do it 'should return version information' do Fluent.version.should == "Fluent v#{Fluent::VERSION}" end it 'should set the element level wait default to 5' do Fluent.instance_variable_set('@element_wait', nil) Fluent.element_level_wait.should == 5 end it 'should allow the element level wait to be set' do Fluent.instance_variable_set('@element_wait', 10) Fluent.element_level_wait.should == 10 end it 'should be able to set an element level wait value' do Fluent.element_level_wait = 10 value = Fluent.instance_variable_get('@element_wait') value.should == 10 end it 'should set the page level wait default to 15' do Fluent.instance_variable_set('@page_wait', nil) Fluent.page_level_wait.should == 15 end it 'should allow the page level wait to be set' do Fluent.instance_variable_set('@page_wait', 10) Fluent.page_level_wait.should == 10 end it 'should be able to set a page level wait value' do Fluent.page_level_wait = 30 value = Fluent.instance_variable_get('@page_wait') value.should == 30 end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fluent-0.4.0 | spec/fluent_spec.rb |
fluent-0.3.0 | spec/fluent_spec.rb |
fluent-0.2.0 | spec/fluent_spec.rb |