| Having ttls set in the system facter.conf, causes this test to fail: Failures: 1) Facter::OptionStore#all returns default values Failure/Error: expect(option_store.all).to eq( block: true, block_list: {}, blocked_facts: [], cli: nil, custom_dir: [], config_file_custom_dir: [], custom_facts: true, debug: false, external_dir: [], expected: {:block=>true, :block_list=>{}, :blocked_facts=>[], :cache=>true, :cli=>nil, :color=>true, :config=>n...n, :ruby=>true, :show_legacy=>true, :timing=>false, :trace=>false, :user_query=>[], :verbose=>false} got: {:block=>true, :block_list=>{}, :blocked_facts=>[], :cache=>true, :cli=>nil, :color=>true, :config=>n...=>false, :trace=>false, :ttls=>[\{"external_fact.txt"=>"30 days"}], :user_query=>[], :verbose=>false} (compared using ==) Diff: @@ -19,6 +19,7 @@ :show_legacy => true, :timing => false, :trace => false, +:ttls => [\{"external_fact.txt"=>"30 days"}], :user_query => [], :verbose => false,
- ./spec/framework/core/options/option_store_spec.rb:16:in `block (3 levels) in <top (required)>'
|