> Firstly I wonder why you're putting this behaviour on the photo class. Have
> you ever heard of the code smell 'feature envy'? Photo#set_cover seems to me
> to be talking mostly to the photo_album, so perhaps this behaviour should move
> there?
Ok.. So I changed that code and put it in my photo
On 23 Mar 2010, at 17:43, Patrick J. Collins wrote:
Ok,
So... My first attempt at specing a method in my photo model didn't
go so
well..
http://gist.github.com/341447
Both of these tests are failing, and I am not even sure if I am
structuring
this anywhere near correct or not...
In o
Ok,
So... My first attempt at specing a method in my photo model didn't go so
well..
http://gist.github.com/341447
Both of these tests are failing, and I am not even sure if I am structuring
this anywhere near correct or not...
In other words... HELP!!
Patrick J. Collins
http://collin