summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2005-04-13 16:27:43 +0000
committerLuke Kanies <luke@madstop.com>2005-04-13 16:27:43 +0000
commit9bf82b635712abb148a6ce12e0518ade3a6e6f0a (patch)
tree1c42be8e21c92b8a07f7de6c4bf302b6dd054830 /test
parente40d5f29ed0e84348e1fec5d461a8727e7e5a4e0 (diff)
downloadpuppet-9bf82b635712abb148a6ce12e0518ade3a6e6f0a.tar.gz
puppet-9bf82b635712abb148a6ce12e0518ade3a6e6f0a.tar.xz
puppet-9bf82b635712abb148a6ce12e0518ade3a6e6f0a.zip
adding package source, initially including only files as a source
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@106 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test')
-rw-r--r--test/tc_package.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/tc_package.rb b/test/tc_package.rb
index ac9973e35..e9a8bb30e 100644
--- a/test/tc_package.rb
+++ b/test/tc_package.rb
@@ -25,3 +25,11 @@ class TestPackagingType < Test::Unit::TestCase
end
end
+class TestPackageSource < Test::Unit::TestCase
+ def test_filesource
+ assert_equal(
+ "/tmp/fakepackage",
+ Blink::Objects::PackageSource.get("file:///tmp/fakepackage")
+ )
+ end
+end