summaryrefslogtreecommitdiffstats
path: root/spec/integration/reports_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/integration/reports_spec.rb')
-rwxr-xr-xspec/integration/reports_spec.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/spec/integration/reports_spec.rb b/spec/integration/reports_spec.rb
new file mode 100755
index 000000000..cc4ae8f4c
--- /dev/null
+++ b/spec/integration/reports_spec.rb
@@ -0,0 +1,18 @@
+#!/usr/bin/env ruby
+#
+# Created by Luke Kanies on 2007-10-12.
+# Copyright (c) 2007. All rights reserved.
+
+require File.dirname(__FILE__) + '/../spec_helper'
+
+require 'puppet/reports'
+
+describe Puppet::Reports, " when using report types" do
+ before do
+ Puppet.settings.stubs(:use)
+ end
+
+ it "should load report types as modules" do
+ Puppet::Reports.report(:store).should be_instance_of(Module)
+ end
+end