[Facebooker-talk] Testing and Mocking
Michael Niessner
mniessner at elevatedrails.com
Tue Apr 8 00:26:49 EDT 2008
Yes,
Have ActionController return a 200 on an error. Also you'll probably
want to make your own copy of the error templates and substitute any
js with fbjs.
Michael
On Apr 7, 2008, at 9:32 PM, S. Woodside wrote:
> I can't wait!
>
> Is there at least a way to get facebook to show me the RoR error page
> (with the stack trace) instead of the normal "An error occurred,
> we're working on it" text? Maybe returning a fake HTTP response or
> something?
>
> --simon
>
> --
> http://simonwoodside.com
>
>
> On Apr 7, 2008, at 6:16 PM, Mike Mangino wrote:
>> Another shameless plug:
>>
>> I'm working on this right now. It should be available as part of
>> http://www.pragprog.com/titles/mmfacer within the next few weeks.
>>
>> Also, I'm looking for a couple of additional reviewers. If you want
>> an advanced copy of the entire book and are willing to act as a
>> reviewer, let me know. You'll have to read through the whole book
>> and actually try all of the coding.
>>
>> Drop me an email if you want to review it.
>>
>> Mike
>>
>> On Apr 7, 2008, at 4:08 PM, S. Woodside wrote:
>>> 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
>>>> apps that
>>>> use Facebooker? I'm starting to look into this, but wanted to see
>>>> what
>>>> others had come up with before going too far.
>>>>
>>>> --
>>>> Christopher Bailey
>>>> Cobalt Edge LLC
>>>> http://cobaltedge.com
>>>
>>> --
>>> http://simonwoodside.com
>>>
>>> _______________________________________________
>>> Facebooker-talk mailing list
>>> Facebooker-talk at rubyforge.org
>>> http://rubyforge.org/mailman/listinfo/facebooker-talk
>>
>> --
>> Mike Mangino
>> http://www.elevatedrails.com
>>
>>
>>
> _______________________________________________
> Facebooker-talk mailing list
> Facebooker-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/facebooker-talk
More information about the Facebooker-talk
mailing list