spec/support/patch/rack/response.rb in sitehub-0.5.0.alpha3 vs spec/support/patch/rack/response.rb in sitehub-0.5.0.alpha4

- old
+ new

@@ -12,9 +12,9 @@ cookie_data_hash.collect { |key, assigned_data| [key.to_sym, assigned_data] }.to_h end def cookie_key_value_array value = header['Set-Cookie'] || '' - value.lines.collect { |line| line.scan(%r{([\.\w]+)=([\.\w/]+)}) } + value.lines.collect { |line| Rack::Utils.unescape(line).scan(%r{([\.\w]+)=([\|\.\w/]+)}) } end end end