diff options
| author | Luke Kanies <luke@reductivelabs.com> | 2010-01-07 17:23:31 -0800 |
|---|---|---|
| committer | test branch <puppet-dev@googlegroups.com> | 2010-02-17 06:50:53 -0800 |
| commit | d0389f4d16efbeccf47d6cd2f1b0854ccb1c88d5 (patch) | |
| tree | 3a3060ac94be20b25742f5ec956e95c8ff3633d8 /spec/unit/application | |
| parent | 67ef78d9f231661d0fdd6260d470cf0d06f1bac2 (diff) | |
Renaming Parser::ResourceType to Resource::Type
Basically, these classes (ResourceType and ResourceTypeCollection)
don't really belong in Parser, so I'm moving them to the
Resource namespace. This will be where anything RAL-related goes
from now on, and as we migrate functionality out of Puppet::Type,
it should go here.
Signed-off-by: Luke Kanies <luke@reductivelabs.com>
Diffstat (limited to 'spec/unit/application')
| -rwxr-xr-x | spec/unit/application/main.rb | 2 | ||||
| -rw-r--r-- | spec/unit/application/server.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/application/main.rb b/spec/unit/application/main.rb index ca185cb0a..74c40c14a 100755 --- a/spec/unit/application/main.rb +++ b/spec/unit/application/main.rb @@ -144,7 +144,7 @@ describe "Puppet" do @main.stubs(:exit) @main.options.stubs(:[]).with(:code).returns "some code" @collection = stub_everything - Puppet::Parser::ResourceTypeCollection.stubs(:new).returns(@collection) + Puppet::Resource::TypeCollection.stubs(:new).returns(@collection) end it "should use a Puppet Resource Type Collection to parse the file" do diff --git a/spec/unit/application/server.rb b/spec/unit/application/server.rb index ba0fcfef2..b300e941e 100644 --- a/spec/unit/application/server.rb +++ b/spec/unit/application/server.rb @@ -262,7 +262,7 @@ describe "PuppetMaster" do Puppet.stubs(:err) @server_app.stubs(:exit) @collection = stub_everything - Puppet::Parser::ResourceTypeCollection.stubs(:new).returns(@collection) + Puppet::Resource::TypeCollection.stubs(:new).returns(@collection) end it "should use a Puppet Resource Type Collection to parse the file" do |
