correct test case for GitHub IP check
This commit is contained in:
parent
e6d7607916
commit
7e8b65a311
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user