diff options
| author | Matt Robinson <matt@puppetlabs.com> | 2010-11-22 11:59:18 -0800 |
|---|---|---|
| committer | Nick Lewis <nick@puppetlabs.com> | 2010-12-16 13:43:01 -0800 |
| commit | 6daeb1687004c083d4e3cc72e883b0cab328eae2 (patch) | |
| tree | 76331193cae61c3d55ce63efa72fad4bcabb2a3e | |
| parent | 5db696b605ebb331d5af3e640e68978c4f6d604d (diff) | |
| download | puppet-6daeb1687004c083d4e3cc72e883b0cab328eae2.tar.gz puppet-6daeb1687004c083d4e3cc72e883b0cab328eae2.tar.xz puppet-6daeb1687004c083d4e3cc72e883b0cab328eae2.zip | |
maint: Fix a test that was missing a require
Paired-with: Nick Lewis
| -rwxr-xr-x | spec/unit/application/agent_spec.rb | 1 | ||||
| -rwxr-xr-x | spec/unit/network/xmlrpc/client_spec.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/spec/unit/application/agent_spec.rb b/spec/unit/application/agent_spec.rb index 54726c185..ff504eedf 100755 --- a/spec/unit/application/agent_spec.rb +++ b/spec/unit/application/agent_spec.rb @@ -5,6 +5,7 @@ require File.dirname(__FILE__) + '/../../spec_helper' require 'puppet/agent' require 'puppet/application/agent' require 'puppet/network/server' +require 'puppet/network/handler' require 'puppet/daemon' describe Puppet::Application::Agent do diff --git a/spec/unit/network/xmlrpc/client_spec.rb b/spec/unit/network/xmlrpc/client_spec.rb index 0b9b2b095..8440d39fa 100755 --- a/spec/unit/network/xmlrpc/client_spec.rb +++ b/spec/unit/network/xmlrpc/client_spec.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +require 'puppet/network/client' Dir.chdir(File.dirname(__FILE__)) { (s = lambda { |f| File.exist?(f) ? require(f) : Dir.chdir("..") { s.call(f) } }).call("spec/spec_helper.rb") } |
