Browse Source

Use a simpler spec_helper

Aaron Hicks 6 years ago
parent
commit
3ee55984d7
1 changed files with 1 additions and 18 deletions
  1. 1
    18
      spec/spec_helper.rb

+ 1
- 18
spec/spec_helper.rb View File

@@ -1,18 +1 @@
1
-require 'pathname'
2
-dir = Pathname.new(__FILE__).parent
3
-$LOAD_PATH.unshift(dir, dir + 'lib', dir + '../lib')
4
-
5
-require 'mocha'
6
-require 'puppet'
7
-gem 'rspec', '=1.2.9'
8
-require 'spec/autorun'
9
-
10
-Spec::Runner.configure do |config|
11
-    config.mock_with :mocha
12
-end
13
-
14
-# We need this because the RAL uses 'should' as a method.  This
15
-# allows us the same behaviour but with a different method name.
16
-class Object
17
-    alias :must :should
18
-end
1
+require 'puppetlabs_spec_helper/module_spec_helper'

Loading…
Cancel
Save