add dummy for access control
This commit is contained in:
parent
c50169f5a4
commit
6072730db3
|
@ -3,6 +3,7 @@ require 'rack'
|
||||||
|
|
||||||
module Rack
|
module Rack
|
||||||
module Protection
|
module Protection
|
||||||
|
autoload :AccessControl, 'rack/protection/access_control'
|
||||||
autoload :AuthenticityToken, 'rack/protection/authenticity_token'
|
autoload :AuthenticityToken, 'rack/protection/authenticity_token'
|
||||||
autoload :Base, 'rack/protection/base'
|
autoload :Base, 'rack/protection/base'
|
||||||
autoload :EscapedParams, 'rack/protection/escaped_params'
|
autoload :EscapedParams, 'rack/protection/escaped_params'
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
require 'rack/protection'
|
||||||
|
|
||||||
|
module Rack
|
||||||
|
module Protection
|
||||||
|
class AccessControl < Base
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
|
@ -0,0 +1,5 @@
|
||||||
|
require File.expand_path('../spec_helper.rb', __FILE__)
|
||||||
|
|
||||||
|
describe Rack::Protection::AccessControl do
|
||||||
|
it_behaves_like "any rack application"
|
||||||
|
end
|
Loading…
Reference in New Issue