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

Revert back to using include matcher

A regression was fixed in Rspec so the include matcher once again
works as expected.
This commit is contained in:
Jordan Owens 2018-10-10 12:43:43 -04:00
parent b7c10649ca
commit e3d96ee91f

View file

@ -559,7 +559,7 @@ describe Sinatra::Cookies do
it 'checks response cookies' do
jar = cookies
jar['foo'] = 'bar'
expect(jar).to be_include(:foo)
expect(jar).to include(:foo)
end
it 'does not use deleted cookies' do