Re: [rspec-users] Spork and Merb and rSpec

2009-06-15 Thread Ben Mabey
Scott Taylor wrote: On Jun 15, 2009, at 4:11 PM, Andy Shipman wrote: On 15 Jun 2009, at 14:43, Scott Taylor wrote: Andy Shipman wrote: When running spork on a merb application, whenever a spec is run I get the following error from the Spork server. /opt/local/lib/ruby/gems/1.8/gems/merb-co

Re: [rspec-users] Spec for image upload and resizing

2009-06-15 Thread srinu
Well, thanks for the reply, as you suggested it is a better way to override the file path. Thanks Srinivas On Jun 15, 6:41 pm, Stephen Eley wrote: > On Mon, Jun 15, 2009 at 1:25 AM, srinu<36sr...@gmail.com> wrote: > > >  But every time I run the test images are saving. Is there any way to > > te

Re: [rspec-users] Spork and Merb and rSpec

2009-06-15 Thread Scott Taylor
On Jun 15, 2009, at 4:11 PM, Andy Shipman wrote: On 15 Jun 2009, at 14:43, Scott Taylor wrote: Andy Shipman wrote: When running spork on a merb application, whenever a spec is run I get the following error from the Spork server. /opt/local/lib/ruby/gems/1.8/gems/merb-core-1.0.11/lib/merb-c

Re: [rspec-users] Spork and Merb and rSpec

2009-06-15 Thread Andy Shipman
On 15 Jun 2009, at 14:43, Scott Taylor wrote: Andy Shipman wrote: When running spork on a merb application, whenever a spec is run I get the following error from the Spork server. /opt/local/lib/ruby/gems/1.8/gems/merb-core-1.0.11/lib/merb-core/ bootloader.rb:1358: [BUG] rb_gc_mark(): unknow

Re: [rspec-users] Autospec Infinite Loop ??

2009-06-15 Thread David Chelimsky
OK - top posting here so everyone on this thread will see this: If you upgrade to ZenTest 4.1, you must install the autotest-rails gem or you will get unexpected results. http://blog.davidchelimsky.net/2009/06/08/upgrading-to-zentest-410/ Cheers, David On Mon, Jun 15, 2009 at 9:18 AM, Carlos A.

Re: [rspec-users] Autospec Infinite Loop ??

2009-06-15 Thread Carlos A. da silva
David Chelimsky wrote: > On Mon, Jun 15, 2009 at 7:18 AM, Bart Zonneveld > wrote: > script/generate rspec Mac OS 10.5.7 >>> >> >> I don't have these plugins or gems, but I found out that downgrading ZenTest >> to version 4.0.0 solved the problem. > > Did you install the autotest-rails ge

Re: [rspec-users] Autospec Infinite Loop ??

2009-06-15 Thread Bart Zonneveld
On Jun 15, 2009, at 2:36 PM, David Chelimsky wrote: On Mon, Jun 15, 2009 at 7:18 AM, Bart Zonneveld> wrote: On Jun 13, 2009, at 11:19 PM, Alexandre Da Silva wrote: David Chelimsky wrote: On Fri, Jun 12, 2009 at 6:42 AM, Alexandre Da Silva wrote: rails blogapp cd blogapp script/generate r

Re: [rspec-users] Spork and Merb and rSpec

2009-06-15 Thread Scott Taylor
Andy Shipman wrote: When running spork on a merb application, whenever a spec is run I get the following error from the Spork server. /opt/local/lib/ruby/gems/1.8/gems/merb-core-1.0.11/lib/merb-core/bootloader.rb:1358: [BUG] rb_gc_mark(): unknown data type 0x3c(0x2203d0) non object ruby 1.8.7

Re: [rspec-users] Spec for image upload and resizing

2009-06-15 Thread Stephen Eley
On Mon, Jun 15, 2009 at 1:25 AM, srinu<36sr...@gmail.com> wrote: > >  But every time I run the test images are saving. Is there any way to > test my asset model? Well, it does have to save the processed image *somewhere* or you're not going to have anything to measure. My suggestion would be to o

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] Autospec Infinite Loop ??

2009-06-15 Thread David Chelimsky
On Mon, Jun 15, 2009 at 7:18 AM, Bart Zonneveld wrote: > > On Jun 13, 2009, at 11:19 PM, Alexandre Da Silva wrote: > >> David Chelimsky wrote: >>> >>> On Fri, Jun 12, 2009 at 6:42 AM, Alexandre Da >>> Silva wrote: rails blogapp cd blogapp script/generate rspec script/genera

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 >

[rspec-users] Spork and Merb and rSpec

2009-06-15 Thread Andy Shipman
When running spork on a merb application, whenever a spec is run I get the following error from the Spork server. /opt/local/lib/ruby/gems/1.8/gems/merb-core-1.0.11/lib/merb-core/ bootloader.rb:1358: [BUG] rb_gc_mark(): unknown data type 0x3c(0x2203d0) non object ruby 1.8.7 (2009-06-08 patc

Re: [rspec-users] Autospec Infinite Loop ??

2009-06-15 Thread Bart Zonneveld
On Jun 13, 2009, at 11:19 PM, Alexandre Da Silva wrote: David Chelimsky wrote: On Fri, Jun 12, 2009 at 6:42 AM, Alexandre Da Silva wrote: rails blogapp cd blogapp script/generate rspec script/generate rspec_scaffold posts title:string body:text rake db:migrate autospec I just copied this al