Sha256: ea0f946e81529e48aaf20178b22c0ec0b90cd6a429c8ce6c7076632c5d42d9cf

Contents?: true

Size: 574 Bytes

Versions: 5

Compression:

Stored size: 574 Bytes

Contents

dir = File.expand_path(File.dirname(__FILE__))
$LOAD_PATH.unshift("#{dir}/")
$LOAD_PATH.unshift("#{dir}/../lib")
$LOAD_PATH.unshift("#{dir}/../plugins")

require 'rubygems'

gem 'mocha'

require 'rspec'
require 'mcollective'
require 'rspec/mocks'
require 'mocha'
require 'ostruct'
require 'tmpdir'
require 'tempfile'
require 'fileutils'

require 'monkey_patches/instance_variable_defined'

RSpec.configure do |config|
  config.mock_with :mocha

  config.before :each do
    MCollective::Config.instance.set_config_defaults("")
    MCollective::PluginManager.clear
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mcollective-client-2.2.4 spec/spec_helper.rb
mcollective-client-2.2.3 spec/spec_helper.rb
mcollective-client-2.2.2 spec/spec_helper.rb
mcollective-client-2.2.1 spec/spec_helper.rb
mcollective-client-2.2.0 spec/spec_helper.rb