1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

Merge pull request #1342 from olleolleolle/fix/spec-cookies-remove-unused-local

Spec: Remove unused local 'seen' to avoid Ruby warning
This commit is contained in:
Zachary Scott 2017-10-29 14:20:11 +09:00 committed by GitHub
commit 3f704893f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -412,7 +412,6 @@ describe Sinatra::Cookies do
end
it 'favors response over request cookies' do
seen = false
value = nil
cookie_route('foo=bar') do
cookies[:foo] = 'baz'