test/app_cookies.rb in camping-2.1.532 vs test/app_cookies.rb in camping-3.0.0

- old
+ new

@@ -53,9 +53,9 @@ end def test_path get '/one', {}, 'SCRIPT_NAME' => '/mnt' assert_body '["42", "43", "past"]' - assert_equal 3, last_response.headers["Set-Cookie"].scan('path=/mnt/').size + assert_equal 3, last_response.headers["set-cookie"].map{|d|d.include?('path=/mnt/')}.size, "We were expecting a different number of 'path=/mnt/' declarations in the array. #{last_response.headers['set-cookie']}" end end