From e3d96ee91fb3ab797d54595f972613686ae0cb84 Mon Sep 17 00:00:00 2001 From: Jordan Owens Date: Wed, 10 Oct 2018 12:43:43 -0400 Subject: [PATCH] Revert back to using include matcher A regression was fixed in Rspec so the include matcher once again works as expected. --- sinatra-contrib/spec/cookies_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sinatra-contrib/spec/cookies_spec.rb b/sinatra-contrib/spec/cookies_spec.rb index c97245b6..ad46a038 100644 --- a/sinatra-contrib/spec/cookies_spec.rb +++ b/sinatra-contrib/spec/cookies_spec.rb @@ -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