diff options
| author | Matt Robinson <matt@puppetlabs.com> | 2010-12-06 11:57:54 -0800 |
|---|---|---|
| committer | Matt Robinson <matt@puppetlabs.com> | 2010-12-06 11:57:54 -0800 |
| commit | b9f3847cd2c7efb954f428224d8d721f9edafd64 (patch) | |
| tree | a7040acbde56a2795316efd6fb64f706b9da0e8c /spec/unit/application | |
| parent | dac675c94e6ed1ee67a3081ba7379e000ee93c1c (diff) | |
| download | puppet-b9f3847cd2c7efb954f428224d8d721f9edafd64.tar.gz puppet-b9f3847cd2c7efb954f428224d8d721f9edafd64.tar.xz puppet-b9f3847cd2c7efb954f428224d8d721f9edafd64.zip | |
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
Diffstat (limited to 'spec/unit/application')
| -rw-r--r-- | spec/unit/application/master_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
