19210 - Publish the actionpolicy simple rpc authorization plugin
Refactored, added tests and updated docs
This commit is contained in:
18
spec/spec_helper.rb
Normal file
18
spec/spec_helper.rb
Normal file
@@ -0,0 +1,18 @@
|
||||
$: << File.join([File.dirname(__FILE__), "lib"])
|
||||
|
||||
require 'rubygems'
|
||||
require 'rspec'
|
||||
require 'mcollective'
|
||||
require 'mcollective/test'
|
||||
require 'rspec/mocks'
|
||||
require 'mocha'
|
||||
require 'tempfile'
|
||||
|
||||
RSpec.configure do |config|
|
||||
config.mock_with :mocha
|
||||
config.include(MCollective::Test::Matchers)
|
||||
|
||||
config.before :each do
|
||||
MCollective::PluginManager.clear
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user