29
29
params = {:ip => "127.0.0.1", :node => "me", :environment => :env, :authenticated => true}
30
30
@acl.expects(:is_request_forbidden_and_why?).with("path", :save, "to/resource", params).returns(nil)
32
@authconfig.allowed?("path", :save, "to/resource", params)
32
@authconfig.check_authorization("path", :save, "to/resource", params)
35
35
describe "when defining an acl with mk_acl" do