WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /Users/gheorghe.popescu/Workspace/facter-ng/spec/custom_facts/core/aggregate_spec.rb:41:in `block (3 levels) in <top (required)>'. [2020-04-29 09:43:22.564537 ] ERROR Facter - Failed to handle /tmp/foo.yaml as LegacyFacter::Util::Parser::YamlParser facts: no implicit conversion of nil into String [2020-04-29 09:43:22.566776 ] ERROR Facter - Failed to handle /tmp/foo.json as LegacyFacter::Util::Parser::JsonParser facts: no implicit conversion of nil into String WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /Users/gheorghe.popescu/Workspace/facter-ng/spec/custom_facts/util/resolution_spec.rb:105:in `block (3 levels) in <top (required)>'. WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /Users/gheorghe.popescu/Workspace/facter-ng/spec/facter/resolvers/solaris/current_zone_resolver_spec.rb:9:in `block (2 levels) in <top (required)>'. WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /Users/gheorghe.popescu/Workspace/facter-ng/spec/facter/resolvers/solaris/zfs_resolver_spec.rb:6:in `block (2 levels) in <top (required)>'. WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /Users/gheorghe.popescu/Workspace/facter-ng/spec/facter/resolvers/solaris/zfs_resolver_spec.rb:6:in `block (2 levels) in <top (required)>'. WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /Users/gheorghe.popescu/Workspace/facter-ng/spec/facter/resolvers/solaris/zfs_resolver_spec.rb:6:in `block (2 levels) in <top (required)>'. WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /Users/gheorghe.popescu/Workspace/facter-ng/spec/facter/resolvers/solaris/zfs_resolver_spec.rb:6:in `block (2 levels) in <top (required)>'. WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /Users/gheorghe.popescu/Workspace/facter-ng/spec/facter/resolvers/solaris/zone_resolver_spec.rb:9:in `block (2 levels) in <top (required)>'. WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /Users/gheorghe.popescu/Workspace/facter-ng/spec/facter/resolvers/solaris/zpool_resolver_spec.rb:6:in `block (2 levels) in <top (required)>'. WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /Users/gheorghe.popescu/Workspace/facter-ng/spec/facter/resolvers/solaris/zpool_resolver_spec.rb:6:in `block (2 levels) in <top (required)>'. WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /Users/gheorghe.popescu/Workspace/facter-ng/spec/facter/resolvers/solaris/zpool_resolver_spec.rb:6:in `block (2 levels) in <top (required)>'. WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /Users/gheorghe.popescu/Workspace/facter-ng/spec/facter/resolvers/solaris/zpool_resolver_spec.rb:6:in `block (2 levels) in <top (required)>'. WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /Users/gheorghe.popescu/Workspace/facter-ng/spec/facter/resolvers/solaris/zpool_resolver_spec.rb:6:in `block (2 levels) in <top (required)>'. WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /Users/gheorghe.popescu/Workspace/facter-ng/spec/facter/resolvers/solaris/zpool_resolver_spec.rb:6:in `block (2 levels) in <top (required)>'.
|