summaryrefslogtreecommitdiffstats
path: root/test/other/tc_selector.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/other/tc_selector.rb')
-rw-r--r--test/other/tc_selector.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/other/tc_selector.rb b/test/other/tc_selector.rb
index 1f01ea87a..7c8ffbd68 100644
--- a/test/other/tc_selector.rb
+++ b/test/other/tc_selector.rb
@@ -13,11 +13,11 @@ class TestSelector < Test::Unit::TestCase
def setup
@os = Puppet::Fact["operatingsystem"]
@hostname = Puppet::Fact["hostname"]
+
+ Puppet[:loglevel] = :debug if __FILE__ == $0
end
def test_values
- Puppet[:debug] = 1
-
selector = nil
assert_nothing_raised() {
selector = Puppet::Selector.new { |select|