summaryrefslogtreecommitdiffstats
path: root/spec/unit/application
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@puppetlabs.com>2011-05-02 14:31:54 -0700
committerDaniel Pittman <daniel@puppetlabs.com>2011-05-02 15:34:19 -0700
commit86c6ec24f387fc70abc333fc4ac974b06b3ec80a (patch)
treef0ec5e0d43f115b16dab5ec2568a9369436c7425 /spec/unit/application
parentc63e9c2394a30fe653908cd15967218d90fa34d6 (diff)
downloadpuppet-86c6ec24f387fc70abc333fc4ac974b06b3ec80a.tar.gz
puppet-86c6ec24f387fc70abc333fc4ac974b06b3ec80a.tar.xz
puppet-86c6ec24f387fc70abc333fc4ac974b06b3ec80a.zip
maint: move the indirector face base out of puppet/face
We used to shove the base class Puppet::Face::Indirector next to the actual faces; this made a bunch of things, including testing, confusing. Instead, move it away into the indirector where it lives with the rest of the indirector related things. Reviewed-By: Nick Lewis <nick@puppetlabs.com>
Diffstat (limited to 'spec/unit/application')
-rwxr-xr-xspec/unit/application/indirection_base_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/application/indirection_base_spec.rb b/spec/unit/application/indirection_base_spec.rb
index e0a9bebb4..910774c14 100755
--- a/spec/unit/application/indirection_base_spec.rb
+++ b/spec/unit/application/indirection_base_spec.rb
@@ -1,14 +1,14 @@
#!/usr/bin/env rspec
require 'spec_helper'
require 'puppet/application/indirection_base'
-require 'puppet/face/indirector'
+require 'puppet/indirector/face'
########################################################################
# Stub for testing; the names are critical, sadly. --daniel 2011-03-30
class Puppet::Application::TestIndirection < Puppet::Application::IndirectionBase
end
-face = Puppet::Face::Indirector.define(:testindirection, '0.0.1') do
+face = Puppet::Indirector::Face.define(:testindirection, '0.0.1') do
summary "fake summary"
end
# REVISIT: This horror is required because we don't allow anything to be