summaryrefslogtreecommitdiffstats
path: root/spec/unit/util
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-12-17 18:10:30 -0600
committerLuke Kanies <luke@madstop.com>2008-12-18 11:10:25 -0600
commitb6db54585177f277b1e06bebd4d925d5c272b610 (patch)
treead09cf88c2bd2293bee9a33d88df21734e57b8c3 /spec/unit/util
parent89c25ad0661fbc1d57830f4648a3b108f4347278 (diff)
downloadpuppet-b6db54585177f277b1e06bebd4d925d5c272b610.tar.gz
puppet-b6db54585177f277b1e06bebd4d925d5c272b610.tar.xz
puppet-b6db54585177f277b1e06bebd4d925d5c272b610.zip
Deprecating 'Puppet.type'; replacing all instances with Puppet::Type.type
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'spec/unit/util')
-rwxr-xr-xspec/unit/util/storage.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/util/storage.rb b/spec/unit/util/storage.rb
index b2c350267..04829598e 100755
--- a/spec/unit/util/storage.rb
+++ b/spec/unit/util/storage.rb
@@ -37,8 +37,8 @@ describe Puppet::Util::Storage do
describe "when caching a Puppet::Type" do
before(:all) do
- @file_test = Puppet.type(:file).create(:name => "/yayness", :check => %w{checksum type})
- @exec_test = Puppet.type(:exec).create(:name => "/bin/ls /yayness")
+ @file_test = Puppet::Type.type(:file).create(:name => "/yayness", :check => %w{checksum type})
+ @exec_test = Puppet::Type.type(:exec).create(:name => "/bin/ls /yayness")
end
it "should return an empty hash" do