Displaying 1 result from an estimated 1 matches for "follow_facebook_redirect".
2008 May 08
0
New test helpers
...s and passes them along to
the requested action with the rest of the params that the test
specifies.
2) assert_facebook_redirect_to
Takes a URL as an argument, extracts the redirection URL from an
fb:redirect tag, and asserts the two are equal.
NOTE: This method replaces assert_fb_redirect_to.
3) follow_facebook_redirect!
Used like follow_redirect! in integration tests. Again, extracts the
URL from a response containing fb:redirect and makes a call to
facebook_post to that URL.
Give these a roll and let me know if there are any issues. Thanks a
lot to Ryan Kinderman for this patch and the descriptions above.
Sh...