Re: [rspec-users] Write tests for objects with lots of dependencies

2011-11-29 Thread Ash Moran
On 8 Nov 2011, at 06:52, Romain Tribes wrote: > I'm writing a Risk-like webgame > (https://github.com/Sephi-Chan/Conquest-on-Rails) and I want to add tests, > but it's painful since objects have a lot of dependencies each other. Hi Romain I was just catching up on some old RSpec emails and fo

Re: [rspec-users] Write tests for objects with lots of dependencies

2011-11-15 Thread George Dinwiddie
On 11/15/11 6:30 AM, Matt Wynne wrote: On 15 Nov 2011, at 04:04, David Chelimsky wrote: On Nov 8, 2011, at 12:52 AM, Romain Tribes wrote: Hello, I'm writing a Risk-like webgame (https://github.com/Sephi-Chan/Conquest-on-Rails) and I want to add tests, but it's painful since objects have a l

Re: [rspec-users] Write tests for objects with lots of dependencies

2011-11-15 Thread Matt Wynne
On 15 Nov 2011, at 04:04, David Chelimsky wrote: > On Nov 8, 2011, at 12:52 AM, Romain Tribes wrote: > >> Hello, >> >> I'm writing a Risk-like webgame >> (https://github.com/Sephi-Chan/Conquest-on-Rails) and I want to add tests, >> but it's painful since objects have a lot of dependencies eac

Re: [rspec-users] Write tests for objects with lots of dependencies

2011-11-14 Thread David Chelimsky
On Nov 8, 2011, at 12:52 AM, Romain Tribes wrote: > Hello, > > I'm writing a Risk-like webgame > (https://github.com/Sephi-Chan/Conquest-on-Rails) and I want to add tests, > but it's painful since objects have a lot of dependencies each other. > > For instance, I have moved the attack logic in

[rspec-users] Write tests for objects with lots of dependencies

2011-11-14 Thread Romain Tribes
Hello, I'm writing a Risk-like webgame (https://github.com/Sephi-Chan/Conquest-on-Rails) and I want to add tests, but it's painful since objects have a lot of dependencies each other. For instance, I have moved the attack logic in a dedicated class (https://github.com/Sephi-Chan/Conquest-on-Ra