Re: [rspec-users] Kernel#debugger reminder method is unhelpful

2010-05-03 Thread Tim Harper
On Mon, May 3, 2010 at 12:37 PM, Tim Harper wrote: > Actually, now that I think about it, Spork claims the Kernel#debugger > method before Rspec checks if it should install it's catch, so it might be > fine. > > Still, I would prefer if if the above "require 'ruby-

[rspec-users] Kernel#debugger reminder method is unhelpful

2010-05-03 Thread Tim Harper
I'm not exactly sure what the motivation behind the "debugger" catch was, perhaps a convenience method to allow your code to remain littered with debugger statements? At any rate, it's obstructed my normal use of ruby-debug, and regardless of whether I've passed the -d or --debug flag, it still com

Re: [rspec-users] Kernel#debugger reminder method is unhelpful

2010-05-03 Thread Tim Harper
Actually, now that I think about it, Spork claims the Kernel#debugger method before Rspec checks if it should install it's catch, so it might be fine. Still, I would prefer if if the above "require 'ruby-debug'; debugger" convention still worked. Tim On Mon, May 3, 201

Re: [rspec-users] Workaround for spec_server "can't dup NilClass"

2009-08-31 Thread Tim Harper
Hi Dave, Have you voted for spork-windows support? It's getting closer, but issues will be tackled in the order of most votes. http://github.com/timcharper/spork/issues#issue/3 Tim On Thu, Aug 20, 2009 at 12:11 PM, Dave Nolan wrote: > On recent versions of RSpec/RSpec rails, if you are using >

Re: [rspec-users] any idea why spec_server gets 'cannot remove Object' error?

2009-08-11 Thread Tim Harper
On Thu, Jul 23, 2009 at 10:13 AM, nbenes wrote: > > > > Tim Harper wrote: > > > >> Have you heard of anyone that has rspec/spork/cucumber etc running under > >> cygwin, colinux, andLinux, or Ulteo Virtual Desktop. Do any of them > >> allo

Re: [rspec-users] any idea why spec_server gets 'cannot remove Object' error?

2009-07-01 Thread Tim Harper
Hi, On Thu, Jun 25, 2009 at 5:03 AM, Tom Hoen wrote: > I tried to vote a +1, but get this after clicking the Comment button: > >   There was a problem serving the requested page. > >   Now you're wondering, "what can I do about it!?!". Well... That's lame. votes have been coming in on other issue

Re: [rspec-users] any idea why spec_server gets 'cannot remove Object' error?

2009-06-24 Thread Tim Harper
There is no voting love on the windows feature request: http://github.com/timcharper/spork/issues :) On Tue, Jun 23, 2009 at 8:38 AM, Tom Hoen wrote: > David - Thank you for responding. > > > > > > > Previously to what? What changed? > > > > > The only changes were some additional models/contro

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

2009-06-20 Thread Tim Harper
Shipman wrote: > On 16 Jun 2009, at 22:11, Tim Harper wrote: > > I'm interested to hear your experience with Spork and Merb. Right now >> Spork is doing some hooks in to rails (that are actually kind of aggressive >> right now) to help make spork work more out of th

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

2009-06-16 Thread Tim Harper
I'm interested to hear your experience with Spork and Merb. Right now Spork is doing some hooks in to rails (that are actually kind of aggressive right now) to help make spork work more out of the box - specifically, preventing rails from preloading application models and controllers before the fo

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

2009-06-01 Thread Tim Harper
Ben J., Have you given up on this? You're right - that defeats the purpose of Spork. You need to make sure that any code that loads code in your project does not make it in to your Spork.prefork block. If you are specifically loading the models in your environment, that's your problem. Here's so

Re: [rspec-users] [cucumber] How to add a after failure hook?

2009-04-02 Thread Tim Harper
$1 > else >@name = name > end > end > > def visit_exception(exception, status) > exception_file = "#{File.dirname(__FILE__)}/#...@name}.html" > open(exception_file, 'w') { |f| f << browser.html } > end > end > > Aidy > >

[rspec-users] [cucumber] How to add a after failure hook?

2009-04-01 Thread Tim Harper
Is currently a way to add a upon failure hook? I'd like to make it so that, in the event of a failed assertion, Webrat will take the last requested page and open it in a browser. Thanks :) Tim ___ rspec-users mailing list rspec-users@rubyforge.org http:

Re: [rspec-users] Why no rspec-rails gem?

2008-09-30 Thread Tim Harper
I released 1.1.5 yesterday, including rspec-1.1.5 and rspec- rails-1.1.5 gems. It works fantastic. Thanks for a quality release. I've freed up about 100 of megs on my hard drive already. Cheers, David ___ rspec-users mailing list rspec-user

Re: [rspec-users] Why no rspec-rails gem?

2008-09-27 Thread Tim Harper
Hey Tim, I actually added a 'gem' task to the rspec-rails project a while ago.. It was soon deprecated in favor of using Hoe however. Either way though rspec-rails on github allows you to build the gem yourself using rake and install it locally. I think the reason for not making it an offic

[rspec-users] Why no rspec-rails gem?

2008-09-27 Thread Tim Harper
I was getting a little tired of adding 2 plugins every time I create a new rails project, so I just built an rspec-rails gemspec, and it works perfectly well. Does anybody know why there isn't a public rspec-rails gem? Tim ___ rspec-users mailing

Re: [rspec-users] changes to RSpec Bundle

2008-04-04 Thread Tim Harper
Created: http://rspec.lighthouseapp.com/projects/5645/tickets/365-feature-rspec-bundle-update-rspec-bundle Thanks everyone! Tim On Fri, Apr 4, 2008 at 6:05 PM, Pat Maddox <[EMAIL PROTECTED]> wrote: > On Fri, Apr 4, 2008 at 4:54 PM, Ben Mabey <[EMAIL PROTECTED]> wrote: >

[rspec-users] changes to RSpec Bundle

2008-04-04 Thread Tim Harper
Hi, I forked the rspec bundle on github and added a new command to it (an Update RSpec Bundle command). I sent a pull request, but haven't heard back from anyone on it. David, did you get my pull request? Or did it get lost in the black whole of cyberspace? (if you were too busy to respon

Re: [rspec-users] specs on private methods

2008-01-08 Thread Tim Harper
Well there we go, Ben's method still stands :) Tim On Jan 8, 2008, at 12:36 PM, Ben Mabey wrote: > Yes. http://eigenclass.org/hiki/Changes+in+Ruby+1.9#l24 > > Tim Harper wrote: >> Doesn't 1.9 allow you to call obj.send!, which will allow you to >> access priv

Re: [rspec-users] specs on private methods

2008-01-08 Thread Tim Harper
Doesn't 1.9 allow you to call obj.send!, which will allow you to access private methods? Tim On Jan 8, 2008, at 12:27 PM, Scott Taylor wrote: > > On Jan 8, 2008, at 2:20 PM, Ben Mabey wrote: > >> Chris Olsen wrote: >>> How does a person test private methods? >>> >>> Is there a way to declare t

[rspec-users] patch for html display

2008-01-03 Thread Tim Harper
All, I've found that the html view for the rspec formatter falls to pieces with Rails 2.02 and rspec 1.10. Has anyone else run into this trouble? Here's a monkey patch that fixes the problem. A more elegant fix would be in order, but this gets the job done: Index: /Users/timcharper/www/exchang

[rspec-users] rspec and rad-rails

2007-12-11 Thread Tim Harper
Quick announcement: I wrote a small enhancement to TestUnitRunner.rb to allow RadRails to run both Test::Unit cases and RSpec examples in the fancy pants GUI runner. Chris will be merging it in with future releases of RadRails, and we're going to work on getting the integration better (some limit