diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index b7d535f5..39743435 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -23,7 +23,11 @@ class MiniTest::Spec def app Rack::Builder.new { + # Use Rack::Lint to test that rack-attack is complying with the rack spec + use Rack::Lint use Rack::Attack + use Rack::Lint + run lambda {|env| [200, {}, ['Hello World']]} }.to_app end