19210 - Publish the actionpolicy simple rpc authorization plugin

Refactored, added tests and updated docs
This commit is contained in:
R.I.Pienaar
2013-03-19 16:39:33 +00:00
parent 77fe7664d7
commit 84ff5d959d
25 changed files with 903 additions and 2 deletions

18
spec/spec_helper.rb Normal file
View 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