making it your own, by blogging

I’m a lazy blogger. But one reason to do it more often is to write about what I have learned and therefore reinforce my memory. A few months ago I worked with the wonderful Jake Scruggs and learned about RSpec and mocking out the ‘new’ method of a class. Today at work I had problems mocking the ‘new’ method using Mocha, and eventually gave up and used something else. So later on I read up on what Jake wrote and refreshed my memory, but I would have remembered better if I wrote about it back then.

So again, how do you mock the ‘new’ method? nah… I’m too tired to write about it :P

discussion by DISQUS
Add New Comment