correct test case for GitHub IP check

This commit is contained in:
Igor Wiedler 2016-07-05 12:39:32 +02:00
parent e6d7607916
commit 7e8b65a311

View File

@ -18,8 +18,8 @@ describe Rack::Attack do
Rack::Attack::Request.new(env) Rack::Attack::Request.new(env)
} }
it 'should not be safelisted' do it 'should be safelisted' do
expect(Rack::Attack.whitelisted?(request)).to be_falsy expect(Rack::Attack.whitelisted?(request)).to be_truthy
end end
end end