Displaying 4 results from an estimated 4 matches for "rails_integration_test".
2008 Apr 07
7
Testing and Mocking
Can I second this question? Could someone provide a simple example of
how they set up a functional test for a controller that uses
facebooker?? Do you have to copy a lot of stuff from
rails_integration_test.rb ?
I guess that since we don''t have a test facebook to test against, we
have to stub out a lot of stuff right?
--simon
> Hi, I''m wondering if folks would care to share what strategies they''re
> using, or tips and tricks for writing functional tests for their...
2008 Jun 15
11
[PATCH] helper to create fb css stylized table
...s helper implementation of the fb_table described here:
http://wiki.developers.facebook.com/index.php/Facebook_Styles
I included testing and comments. I hope you find it useful.
Curiously, it''s really a small extension of FBML.
Richard
-------------- next part --------------
Index: test/rails_integration_test.rb
===================================================================
--- test/rails_integration_test.rb (revision 221)
+++ test/rails_integration_test.rb (working copy)
@@ -431,6 +431,37 @@
ActionController::Base.asset_host=''http://facebook.host.com''
end
+ def test_...
2008 Feb 01
2
proposed patch for fb_request_form_submit
Hi, according to the Facebook docs, you can add a uid to the
fb_request_form_submit button which will pre select the user for the
form.
So you can do:
<fb:request-form action="/my_tasks" method="POST" invite="true"
type="MyApp" content="wants to invite you to xyz app">
<fb:request-form-submit uid="FRIENDID" />
2007 Nov 30
0
Tests not passing
There is a catch-all rescue at the bottom of rails_integration_test
that stops the tests from running if any of the require statements
fail. In my case, require File.dirname(__FILE__)+''/../init'' fails and
none of the tests get run. When I comment out that line, there are a
couple of failures relating to redirection.
Shane
--
http://myfitbuddy...