summaryrefslogtreecommitdiffstats
path: root/test/other/tc_selector.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2005-06-27 21:47:06 +0000
committerLuke Kanies <luke@madstop.com>2005-06-27 21:47:06 +0000
commit60783f0777eb5dd89d44a8dfd2ced49f06a32d8f (patch)
treed1cf67771de26cd49d98fff28d2e7aa89cbf63e0 /test/other/tc_selector.rb
parent8f95084cd854aef4e3493854e58cefd352cdc68d (diff)
downloadpuppet-60783f0777eb5dd89d44a8dfd2ced49f06a32d8f.tar.gz
puppet-60783f0777eb5dd89d44a8dfd2ced49f06a32d8f.tar.xz
puppet-60783f0777eb5dd89d44a8dfd2ced49f06a32d8f.zip
renaming blink to puppet
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@305 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/other/tc_selector.rb')
-rw-r--r--test/other/tc_selector.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/other/tc_selector.rb b/test/other/tc_selector.rb
index cd786fd1a..1f01ea87a 100644
--- a/test/other/tc_selector.rb
+++ b/test/other/tc_selector.rb
@@ -1,28 +1,28 @@
if __FILE__ == $0
$:.unshift '..'
$:.unshift '../../lib'
- $blinkbase = "../../../../language/trunk"
+ $puppetbase = "../../../../language/trunk"
end
-require 'blink/selector'
+require 'puppet/selector'
require 'test/unit'
# $Id$
class TestSelector < Test::Unit::TestCase
def setup
- @os = Blink::Fact["operatingsystem"]
- @hostname = Blink::Fact["hostname"]
+ @os = Puppet::Fact["operatingsystem"]
+ @hostname = Puppet::Fact["hostname"]
end
def test_values
- Blink[:debug] = 1
+ Puppet[:debug] = 1
selector = nil
assert_nothing_raised() {
- selector = Blink::Selector.new { |select|
+ selector = Puppet::Selector.new { |select|
select.add("value1") {
- Blink::Fact["hostname"] == @hostname
+ Puppet::Fact["hostname"] == @hostname
}
}
}