summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorHunter Haugen <h.haugen@gmail.com>2012-08-27 17:08:07 -0700
committerHunter Haugen <h.haugen@gmail.com>2012-08-27 17:08:07 -0700
commite39eee9324c5203ff3825aea22f9a5836ab9bce4 (patch)
treef589d8a2243d89075fa5115711ec5e772123aef3 /spec
parent802ba51113fae827cec858562c71953f4269e4d5 (diff)
Add puppetlabs_spec_helper gem code
Diffstat (limited to 'spec')
-rw-r--r--spec/spec.opts6
-rw-r--r--spec/spec_helper.rb14
2 files changed, 7 insertions, 13 deletions
diff --git a/spec/spec.opts b/spec/spec.opts
new file mode 100644
index 0000000..91cd642
--- /dev/null
+++ b/spec/spec.opts
@@ -0,0 +1,6 @@
+--format
+s
+--colour
+--loadby
+mtime
+--backtrace
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 9dbbf18..2c6f566 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,13 +1 @@
-require 'puppet'
-require 'rubygems'
-require 'rspec-puppet'
-
-fixture_path = File.expand_path(File.join(__FILE__, '..', 'fixtures'))
-RSpec.configure do |c|
- c.module_path = File.join(fixture_path, 'modules')
- c.manifest_dir = File.join(fixture_path, 'manifests')
-end
-
-class Object
- alias :must :should
-end
+require 'puppetlabs_spec_helper/module_spec_helper'