add dummy for access control

This commit is contained in:
Konstantin Haase 2011-05-24 12:20:45 +02:00
parent c50169f5a4
commit 6072730db3
3 changed files with 14 additions and 0 deletions

View File

@ -3,6 +3,7 @@ require 'rack'
module Rack
module Protection
autoload :AccessControl, 'rack/protection/access_control'
autoload :AuthenticityToken, 'rack/protection/authenticity_token'
autoload :Base, 'rack/protection/base'
autoload :EscapedParams, 'rack/protection/escaped_params'

View File

@ -0,0 +1,8 @@
require 'rack/protection'
module Rack
module Protection
class AccessControl < Base
end
end
end

View File

@ -0,0 +1,5 @@
require File.expand_path('../spec_helper.rb', __FILE__)
describe Rack::Protection::AccessControl do
it_behaves_like "any rack application"
end