From b9f3847cd2c7efb954f428224d8d721f9edafd64 Mon Sep 17 00:00:00 2001 From: Matt Robinson Date: Mon, 6 Dec 2010 11:57:54 -0800 Subject: maint: Fix more order dependent test failures In commit b67f4c68503ca3abf0a55857da452e46fa75abd5 I fixed one place that was causing order dependent test failures in spec/unit/ssl/certificate_request_spec.rb, but missed another case that was causing a similar failure. To find all the order dependent failures with that file I ran the following bash script from the spec directory: for TEST in `find . -name "*.rb" -type f`; do spec $TEST unit/ssl/certificate_request_spec.rb > /dev/null 2>&1 if [[ $? != 0 ]]; then echo $TEST fi done Paired-with: Jesse Wolfe --- spec/unit/application/master_spec.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'spec/unit/application') diff --git a/spec/unit/application/master_spec.rb b/spec/unit/application/master_spec.rb index 86e38efcb..e97bcb5dc 100644 --- a/spec/unit/application/master_spec.rb +++ b/spec/unit/application/master_spec.rb @@ -20,6 +20,7 @@ describe Puppet::Application::Master do Puppet::Node::Facts.indirection.stubs(:cache_class=) Puppet::Transaction::Report.indirection.stubs(:terminus_class=) Puppet::Resource::Catalog.indirection.stubs(:terminus_class=) + Puppet::SSL::Host.stubs(:ca_location=) end it "should operate in master run_mode" do -- cgit