summaryrefslogtreecommitdiffstats
path: root/spec/unit/application/indirection_base_spec.rb
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@puppetlabs.com>2011-04-07 14:20:35 -0700
committerDaniel Pittman <daniel@puppetlabs.com>2011-04-07 15:52:04 -0700
commit8d144d0bf5116c5f04522f2b4cd75699f6480f8e (patch)
treed1f0a58fc106b04c9149782b56b0736394ef931b /spec/unit/application/indirection_base_spec.rb
parent5592034fdb8bf3a72ab3133d69443490f9ad7b78 (diff)
downloadpuppet-8d144d0bf5116c5f04522f2b4cd75699f6480f8e.tar.gz
puppet-8d144d0bf5116c5f04522f2b4cd75699f6480f8e.tar.xz
puppet-8d144d0bf5116c5f04522f2b4cd75699f6480f8e.zip
(#7012) Update references in code to use face(s)
The codebase is now using the new name, faces, uniformly to reference the objects contained. All tests pass.
Diffstat (limited to 'spec/unit/application/indirection_base_spec.rb')
-rwxr-xr-xspec/unit/application/indirection_base_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/unit/application/indirection_base_spec.rb b/spec/unit/application/indirection_base_spec.rb
index 66b3009fb..a73cf4fca 100755
--- a/spec/unit/application/indirection_base_spec.rb
+++ b/spec/unit/application/indirection_base_spec.rb
@@ -2,19 +2,19 @@
require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper.rb')
require 'puppet/application/indirection_base'
-require 'puppet/string/indirector'
+require 'puppet/faces/indirector'
########################################################################
# Stub for testing; the names are critical, sadly. --daniel 2011-03-30
class Puppet::Application::TestIndirection < Puppet::Application::IndirectionBase
end
-string = Puppet::String::Indirector.define(:testindirection, '0.0.1') do
+face = Puppet::Faces::Indirector.define(:testindirection, '0.0.1') do
end
# REVISIT: This horror is required because we don't allow anything to be
# :current except for if it lives on, and is loaded from, disk. --daniel 2011-03-29
-string.version = :current
-Puppet::String.register(string)
+face.version = :current
+Puppet::Faces.register(face)
########################################################################