search for: assert_facebook_redirect_to

Displaying 1 result from an estimated 1 matches for "assert_facebook_redirect_to".

2008 May 08
0
New test helpers
...st For use in controller unit tests and integration tests. Basically, it delegates to the standard "post" method for simulating post requests in a test, but constructs mock fb_sig params 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:re...