diff options
Diffstat (limited to 'spec/unit/application/facts_spec.rb')
-rwxr-xr-x | spec/unit/application/facts_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/application/facts_spec.rb b/spec/unit/application/facts_spec.rb index e11ea165c..7a7c36597 100755 --- a/spec/unit/application/facts_spec.rb +++ b/spec/unit/application/facts_spec.rb @@ -16,6 +16,7 @@ describe Puppet::Application::Facts do end it "should return facts if a key is given to find", :'fails_on_ruby_1.9.2' => true do + Puppet::Node::Facts.indirection.reset_terminus_class subject.command_line.stubs(:args).returns %w{find whatever --render-as yaml} expect { |