The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Mock some methods

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Tobias Luetke

Posts: 150
Nickname: xal
Registered: Jan, 2005

Tobias Luetke is a contributor to the ruby on rails project
Mock some methods Posted: May 27, 2006 7:01 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Tobias Luetke.
Original Post: Mock some methods
Feed Title: too-biased
Feed URL: http://blog.leetsoft.com/xml/rss/
Feed Description: Read the announcement: CD Baby rewrite in Postgres and Ruby, Baby!CD Baby is going rails. This is huge! If you don’t know CD Baby, its a distribution site with over 80.000 musicians under contract and its one of the biggest digital distributors of audio to Apple iTunes, Napster, Rhapsody, etc.  Read all about it here. What is even more exciting about it is that I’m on board for the rewrite and I had chance to talk to Derek on the phone directly for a consulting session which might have played its little part in the decision to go with rails. Come monday I’ll work together with him and other rails contributor Jeremy Kemper to help crunch those 90k lines of PHP in beautifully compact code for which Rails and Ruby are known. Here is a quote from Derek’s announcement on his weblog: Like a lost soul walkin’ the earth, lookin’ for spirituality, that stumbles upon the right church with the right people at the right time, I’ve found my niche with Ruby. Its little itty-bitty community attracts some brilliant “think different” types with a love for beautiful code that do this for love, not money.
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Tobias Luetke
Latest Posts From too-biased

Advertisement

Raphael Bauduin has a nice write-up on mock_methods. A handy tool for unit-testing, which lets you replace any number of methods on existing objects for the duration of a block.

He explains how he uses it to test some difficult to test area in his paypal integration where the controller is dependent on outside information returned from paypal.

Testing Rails controllers communicating with external web services

Read: Mock some methods

Topic: CSS Graphs Plugin Patch Previous Topic   Next Topic Topic: Buttonator.com: Creación de botones para la web vía arrastrar y soltar

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use