search for: tammersaleh

Displaying 4 results from an estimated 4 matches for "tammersaleh".

2007 Feb 05
2
Mock objects for stubbing out Paypal - anyone have any???
Hi, Just wondering if anyone has already developed a mocking approach to stub out the Paypal interface so that one can test on an internal PC which doesn''t provide a means for PayPal to callback to your webserver? (i.e. once the app is deployed to the hosting provider it would then work as PayPal could then hit the application with the specified URL). Anyone already solved this? What
2007 Sep 05
2
after_create callback called twice in test env when using fixtures
...pt/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/ rake_test_loader Started ======================== Doing stuff Doing stuff ======================== . Finished in 0.051473 seconds. 1 tests, 0 assertions, 0 failures, 0 errors Thanks for the help, Tammer --------------------- www.tammersaleh.com tsaleh-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org (626) 841-0708 Usually online via Google Talk --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email...
2006 Sep 14
4
Massive data insert during migration
Hello all, I''ve got a site that will be used by people (hopefully) all over the world. One of the requirements of registration is country and province of residence. I have a list of all the countries in the world and all their subnational entities. Currently, the two lists are divided between a pair of comma-delimited text files. If this were something less dynamic and cool, I''d
2007 Feb 05
10
how does Mocha compare in terms of classical vs mock-based testing, and stubbing???
Hi guys, I''ve just been reading Martin Fowler''s article re mock versus stubbing<http://martinfowler.com/articles/mocksArentStubs.html>where he compares traditional TDD testing techniques with mock based testing. I''d be interested in comments from a ruby on rails perspective in terms of this and Mocha? For example: a) Do you see Mocha as a robust way to test Ruby