Re: [rspec-users] spec_server errors when reloading fixture replacement pl

2009-06-10 Thread Zach Powell
Ben Johnson wrote: > Did anyone ever figure out the factory_girl / machinist issues? I am > having the same problems and can figure out how to fix it for the life > of me. The first run works fine, then afterwards I get a bunch of these > errors: > > No blueprint for class Venue > > Any ideas?

Re: [rspec-users] Mock and Stub objects

2009-06-10 Thread Stephen Eley
On Wed, Jun 10, 2009 at 6:55 AM, Amit Kulkarni wrote: > >      In the book it is mention about mock and stub objects.but i am > still not getting the reason behind it. The Very Short Answer: You don't want your controller specs failing because your model is broken. Your _model_ specs should fail

Re: [rspec-users] Troble running controller spec

2009-06-10 Thread Amit Kulkarni
Mohit Sindhwani wrote: > David Chelimsky wrote: >> Any Vista users in earshot? I've done all I can do on this. > Hi David > > I'm on Vista, but I just joined the mailing list - could I have a bit of > a background to what we're trying to do? I'll try to see what I can do. > > Cheers, > Mohi

Re: [rspec-users] Adding specs to engines

2009-06-10 Thread Hendrik Volkmer
On Tue, Jun 9, 2009 at 5:33 AM, ru_ghetto wrote: > I am breaking an app into a bunch of rails 2.x style engine plugins. > The app is already tested with rspec and I am trying to figure out how > to get autotest or even rake spec to run the examples in the plugins. We use our dry_plugin_test_helper

Re: [rspec-users] Mock and Stub objects

2009-06-10 Thread David Chelimsky
On Wed, Jun 10, 2009 at 5:55 AM, Amit Kulkarni wrote: > Hello, > >      I had seen many controller spec using mock and stub objects. > >      I had written controller spec earlier without these objects. > >      In the book it is mention about mock and stub objects.but i am > still not getting the

[rspec-users] Mock and Stub objects

2009-06-10 Thread Amit Kulkarni
Hello, I had seen many controller spec using mock and stub objects. I had written controller spec earlier without these objects. In the book it is mention about mock and stub objects.but i am still not getting the reason behind it. Can somebody tell me what are these and