summaryrefslogtreecommitdiffstats
path: root/spec/unit/puppet_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/puppet_spec.rb')
-rwxr-xr-xspec/unit/puppet_spec.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/unit/puppet_spec.rb b/spec/unit/puppet_spec.rb
new file mode 100755
index 000000000..07834299a
--- /dev/null
+++ b/spec/unit/puppet_spec.rb
@@ -0,0 +1,12 @@
+#!/usr/bin/env ruby"
+
+require File.dirname(__FILE__) + '/../spec_helper'
+require 'puppet'
+
+describe Puppet do
+ Puppet::Util::Log.eachlevel do |level|
+ it "should have a method for sending '#{level}' logs" do
+ Puppet.should respond_to(level)
+ end
+ end
+end