[rspec-users] What are we spec'ing?

Muhammad Ichsan ichsan at gmail.com
Sun Aug 24 12:37:26 EDT 2008

On Sun, Aug 24, 2008 at 9:53 PM, Jim Gay <jim at saturnflyer.com> wrote:
> On Aug 24, 2008, at 10:39 AM, Muhammad Ichsan wrote:
> Check out this thread:
> http://groups.google.com/group/rspec/browse_thread/thread/7bb484873d327232/a2d46045dcbf1066?lnk=st&q=Should(not%3F)+test+associations+(was%3A+Dealing+with+dependent+data)#a2d46045dcbf1066

Nice link! Thanks. Actually I got a little confused on David's statement:

> Try this as a next step:
> * code a little
> * comment out your code
> * write a small example for a small bit of the commented code
> * watch it fail
> * uncomment just enough to make it pass
> * watch it pass
> * repeat the last 4 steps

I don't really get it. Would you give me a simple example?


~A useful man to others is a lucky man

Rzqies, Order now! http://rzqies.wordpress.com

More information about the rspec-users mailing list