summaryrefslogtreecommitdiff
path: root/spec/unit/interface/face_collection_spec.rb
diff options
context:
space:
mode:
authorStig Sandbeck Mathisen <ssm@debian.org>2014-09-07 10:14:36 +0200
committerStig Sandbeck Mathisen <ssm@debian.org>2014-09-07 10:14:36 +0200
commitd4b83be375ac1dead058e091191ee7c7b7c24c8a (patch)
treedc825687392ae3068de5b764be60c53122d9e02a /spec/unit/interface/face_collection_spec.rb
parent229cbb976fe0f70f5f30548b83517b415840f9bb (diff)
parent1681684857c6e39d60d87b0b3520d8783977ceff (diff)
downloadpuppet-upstream/3.7.0.tar.gz
Imported Upstream version 3.7.0upstream/3.7.0
Diffstat (limited to 'spec/unit/interface/face_collection_spec.rb')
-rwxr-xr-xspec/unit/interface/face_collection_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/interface/face_collection_spec.rb b/spec/unit/interface/face_collection_spec.rb
index 0562c933e..89928b70a 100755
--- a/spec/unit/interface/face_collection_spec.rb
+++ b/spec/unit/interface/face_collection_spec.rb
@@ -11,12 +11,12 @@ describe Puppet::Interface::FaceCollection do
# the 'subject' of the specs will differ.
before :all do
# Save FaceCollection's global state
- faces = subject.instance_variable_get(:@faces)
+ faces = described_class.instance_variable_get(:@faces)
@faces = faces.dup
faces.each do |k, v|
@faces[k] = v.dup
end
- @faces_loaded = subject.instance_variable_get(:@loaded)
+ @faces_loaded = described_class.instance_variable_get(:@loaded)
# Save the already required face files
@required = []