I've just found a great article (http://continuousthinking.com/
2007/6/23/instance-variables-in-ruby) about testing/setting/accessing
instance variables so I'm adding that into my specs now. Still.. if
anyone thinks my specs can be improved I'd be glad to hear it.

Thanks

On Jan 22, 4:26 pm, Alistair Holt <[email protected]> wrote:
> Hi everyone,
> I've just started seriously using Rspec writing the specs for a Merb app I'm
> working on. I've got some model methods which I'm not sure how to test or
> what the best way to test them is so I'm asking for any advice on my spec
> attempts. You can see the code @https://gist.github.com/ea5a553c12c38c4c6e1b
>
> Thanks
>
> Alistair Holt
>
> E: [email protected]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"NWRUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nwrug-members?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to