[rspec-users] State of autospec/test and Rails 3

2010-04-14 Thread Mikel Lindsaar
Hi all, David, before I begin, thanks for your hard work :) I saw a thread or a blog post, I think it was on your site David, that Autotest is not working with Rails at the moment, circa beta4. Has that since changed? If not, anything I can do to help? At least on beta6 it still seems to be f

Re: [rspec-users] State of autospec/test and Rails 3

2010-04-14 Thread David Chelimsky
On Apr 14, 2010, at 7:37 AM, Mikel Lindsaar wrote: > Hi all, > > David, before I begin, thanks for your hard work :) > > I saw a thread or a blog post, I think it was on your site David, that > Autotest is not working with Rails at the moment, circa beta4. > > Has that since changed? If not,

[rspec-users] raise_error suggestion

2010-04-14 Thread rogerdpack
I remember reading a post where somebody mentioned something like "sometimes after a refactoring, a test block like lambda { ... }.should raise_error catches a NoMethodError in error, thus is actually failing, but the user isn't notified of the same." A suggestion in this regard: change it

Re: [rspec-users] raise_error suggestion

2010-04-14 Thread Paul Hinze
On Wed, Apr 14, 2010 at 2:28 PM, rogerdpack wrote: > change it so that if raise_error is called without parameters, and it > catches NoMethodError, it outputs a warning somehow. > > Thoughts? +1; I have been burned by this several times, and this is seems like an elegant solution to clear up the

Re: [rspec-users] raise_error suggestion

2010-04-14 Thread Pat Maddox
On Apr 14, 2010, at 12:28 PM, rogerdpack wrote: > I remember reading a post where somebody mentioned something like > > "sometimes after a refactoring, a test block like > > lambda { ... }.should raise_error > > catches a NoMethodError in error, thus is actually failing, but the > user isn'

Re: [rspec-users] State of autospec/test and Rails 3

2010-04-14 Thread Mikel Lindsaar
On 14, April 2010, at 14 Apr 23:37, David Chelimsky wrote: > On Apr 14, 2010, at 7:37 AM, Mikel Lindsaar wrote: >> I saw a thread or a blog post, I think it was on your site David, that >> Autotest is not working with Rails at the moment, circa beta4. > I'm having success with it. Take a look at h