spec_helper: use proper mocha import to avoid warning

This commit is contained in:
David Schmitt 2015-05-05 13:30:54 +01:00
parent 29f09e2181
commit 24680aceec
2 changed files with 2 additions and 3 deletions

View file

@ -14,6 +14,7 @@ group :development, :unit_tests do
gem 'rake', '~> 10.1.0', :require => false
gem 'rspec', '~> 3.1.0', :require => false
gem 'rspec-puppet', :require => false
gem 'mocha', :require => false
gem 'puppetlabs_spec_helper', :require => false
gem 'puppet-lint', :require => false
gem 'pry', :require => false

View file

@ -17,9 +17,7 @@ require 'puppet_spec/fixtures'
require 'puppet_spec/matchers'
require 'puppet_spec/database'
require 'monkey_patches/alias_should_to_must'
require 'mocha/setup'
require 'mocha/api'
RSpec.configure do |config|
config.before :each do