Skip to content

Commit b9153fa

Browse files
committed
Cleaning up after the CookieJar
1 parent c4a8ff5 commit b9153fa

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

features/support/env.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,5 +98,9 @@ def stash
9898
cleanup_dirs.each do |dir|
9999
system("rm -rf #{dir}")
100100
end
101+
cj = Chef::REST::CookieJar.instance
102+
cj.keys.each do |key|
103+
cj.delete(key)
104+
end
101105
end
102106

0 commit comments

Comments
 (0)