summaryrefslogtreecommitdiffstats
path: root/test/objects/tc_basic.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2005-04-14 05:28:19 +0000
committerLuke Kanies <luke@madstop.com>2005-04-14 05:28:19 +0000
commit6dce8fc1bc5b6b78dd284273f1d10b123d56c01d (patch)
tree51fa5ce74c7ced3ef9402f20afe9000f9525fefd /test/objects/tc_basic.rb
parenta90af493baa99468c7c290db1e2156c386f82fbd (diff)
downloadpuppet-6dce8fc1bc5b6b78dd284273f1d10b123d56c01d.tar.gz
puppet-6dce8fc1bc5b6b78dd284273f1d10b123d56c01d.tar.xz
puppet-6dce8fc1bc5b6b78dd284273f1d10b123d56c01d.zip
renaming objects to types
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@155 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/objects/tc_basic.rb')
-rw-r--r--test/objects/tc_basic.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/objects/tc_basic.rb b/test/objects/tc_basic.rb
index 75cec7b7b..eb3503302 100644
--- a/test/objects/tc_basic.rb
+++ b/test/objects/tc_basic.rb
@@ -31,24 +31,24 @@ class TestBasic < Test::Unit::TestCase
assert_nothing_raised() {
cfile = File.join($blinkbase,"examples/root/etc/configfile")
- unless Blink::Objects::File.has_key?(cfile)
- Blink::Objects::File.new(
+ unless Blink::Types::File.has_key?(cfile)
+ Blink::Types::File.new(
:path => cfile
)
end
- @configfile = Blink::Objects::File[cfile]
+ @configfile = Blink::Types::File[cfile]
}
assert_nothing_raised() {
- unless Blink::Objects::Service.has_key?("sleeper")
- Blink::Objects::Service.new(
+ unless Blink::Types::Service.has_key?("sleeper")
+ Blink::Types::Service.new(
:name => "sleeper",
:running => 1
)
- Blink::Objects::Service.addpath(
+ Blink::Types::Service.addpath(
File.join($blinkbase,"examples/root/etc/init.d")
)
end
- @sleeper = Blink::Objects::Service["sleeper"]
+ @sleeper = Blink::Types::Service["sleeper"]
}
assert_nothing_raised() {
@component.push(