test/test_parse.rb in rest-graph-1.2.0 vs test/test_parse.rb in rest-graph-1.2.1
- old
+ new
@@ -16,11 +16,11 @@
it 'would 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=#{CGI.escape(access_token)}&expires=0&" \
+ "secret=abc&session_key=def-456&sig=#{sig}&uid=3"
check = lambda{ |token|
http_cookie =
"__utma=123; __utmz=456.utmcsr=(d)|utmccn=(d)|utmcmd=(n); " \
"fbs_#{app_id}=#{fbs}"