test/facebook/test_parse.rb in rest-more-2.0.2 vs test/facebook/test_parse.rb in rest-more-2.0.3

- old
+ new

@@ -21,11 +21,11 @@ should 'extract correct access_token or fail checking sig' do access_token = '1|2-5|f.' app_id = '1829' secret = app_id.reverse sig = '398262caea8442bd8801e8fba7c55c8a' - fbs = "access_token=#{CGI.escape(access_token)}&expires=0&" \ - "secret=abc&session_key=def-456&sig=#{sig}&uid=3" + fbs = "access_token=#{RC::Middleware.escape(access_token)}&" \ + "expires=0&secret=abc&session_key=def-456&sig=#{sig}&uid=3" check = lambda{ |token, fbs1| http_cookie = "__utma=123; __utmz=456.utmcsr=(d)|utmccn=(d)|utmcmd=(n); " \ "fbs_#{app_id}=#{fbs1}"