spec_helper: use proper mocha import to avoid warning
This commit is contained in:
parent
29f09e2181
commit
24680aceec
2 changed files with 2 additions and 3 deletions
1
Gemfile
1
Gemfile
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue