Sha256: 227bb96b8b0e763471886fcbfb8181097598cfa0a8a281376448b9cc8de5bf12

Contents?: true

Size: 426 Bytes

Versions: 6

Compression:

Stored size: 426 Bytes

Contents

require 'pathname'
dir = Pathname.new(__FILE__).parent
$LOAD_PATH.unshift(dir, dir + 'lib', dir + '../lib')

require 'mocha'
require 'puppet'
gem 'rspec', '=1.2.9'
require 'spec/autorun'

Spec::Runner.configure do |config|
    config.mock_with :mocha
end

# We need this because the RAL uses 'should' as a method.  This
# allows us the same behaviour but with a different method name.
class Object
    alias :must :should
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
provizioning-0.9.19 puppet/modules/ufw/spec/spec_helper.rb
provizioning-0.9.18 puppet/modules/ufw/spec/spec_helper.rb
puppet-module-0.3.4 templates/generator/spec/spec_helper.rb
puppet-module-0.3.3 templates/generator/spec/spec_helper.rb
puppet-module-0.3.2 templates/generator/spec/spec_helper.rb
puppet-module-0.3.0 templates/generator/spec/spec_helper.rb