Re: [rspec-users] Problem while generating rspec model in Rails Project

2009-06-30 Thread Ninad Pol
David Chelimsky wrote: > On Mon, Jun 15, 2009 at 8:04 AM, Ninad Pol wrote: >> I think this problem is not related any plugin (that define a client) >> simply because if i try it with any other ruby file(other than >> Client.rb) also i am facing same problem. > > So if you do this: > > rails widge

Re: [rspec-users] Problem while generating rspec model in Rails Project

2009-06-15 Thread David Chelimsky
On Mon, Jun 15, 2009 at 8:04 AM, Ninad Pol wrote: > I think this problem is not related any plugin (that define a client) > simply because if i try it with any other ruby file(other than > Client.rb) also i am facing same problem. So if you do this: rails widgets cd widgets script\generate model

Re: [rspec-users] Problem while generating rspec model in Rails Project

2009-06-15 Thread Ninad Pol
I think this problem is not related any plugin (that define a client) simply because if i try it with any other ruby file(other than Client.rb) also i am facing same problem.And what do you mean by some extension in the lib directory? David Chelimsky wrote: > On Mon, Jun 15, 2009 at 1:42 AM, N

Re: [rspec-users] Problem while generating rspec model in Rails Project

2009-06-15 Thread David Chelimsky
On Mon, Jun 15, 2009 at 1:42 AM, Ninad Pol wrote: > Thanks for your reply. > > No, above command does not give me same error. However it creates only > the model file under \app\models and asks whether to overwrite it. But > my aim is to create rspec file under \spec\models with the actual model >

Re: [rspec-users] Problem while generating rspec model in Rails Project

2009-06-14 Thread Ninad Pol
Thanks for your reply. No, above command does not give me same error. However it creates only the model file under \app\models and asks whether to overwrite it. But my aim is to create rspec file under \spec\models with the actual model file created under \app\models remaining unchanged. So usi

Re: [rspec-users] Problem while generating rspec model in Rails Project

2009-06-12 Thread David Chelimsky
On Fri, Jun 12, 2009 at 5:35 AM, Ninad Pol wrote: > > Hi, > > I am new to testing and Rspec. I have one rails project created on my > machine. > In this project under \app\models i have a file called "client.rb" which > has been already created. Now i want to generate spec file for this > model for