Re: [rspec-users] Autotest and subclasses / namespaces

2008-08-16 Thread David Chelimsky
On Fri, Aug 15, 2008 at 7:42 AM, Matt Wynne <[EMAIL PROTECTED]> wrote: > I am writing a controller admin/cities_controller.rb > it inherits from AdminController, so it's defined like > class Admin::CitiesController > AdminController > Whenever I save the controller file, autotest freaks out: > unin

Re: [rspec-users] formatter writing output on different files

2008-08-16 Thread David Chelimsky
On Thu, Aug 14, 2008 at 9:49 AM, Stefano Crocco <[EMAIL PROTECTED]> wrote: > Hello to every one, > > First of all, sorry if this message has already reached the list. I sent it > yesterday, but since today I don't see it in the archives, I'm resending it. > > I'm writing an application and using rs

[rspec-users] Real story examples & guidelines learnt

2008-08-16 Thread Joseph Wilk
Hello, I have been putting together over the last couple of months various guidelines I've learnt and picked as I've used Rspec stories. After speaking to lots of people I found they initially found great resources to understand Rspec's story framework. However from there a lot of people have stru

Re: [rspec-users] Autotest and subclasses / namespaces

2008-08-16 Thread Ben Mabey
Matt Wynne wrote: > I am writing a controller admin/cities_controller.rb > > it inherits from AdminController, so it's defined like > > class Admin::CitiesController > AdminController > > Whenever I save the controller file, autotest freaks out: > > uninitialized constant Admin::AdminController (Na

[rspec-users] [bug] mock expectations fail when a subclass is instantiated

2008-08-16 Thread Chuck Remes
I took a look at the web site but did not see any issue/bug tracker, so I'm reporting this here. The mock framework fails to differentiate between messages sent to a parent class versus a subclass, so some of my expectations fail when I assert some expectation on a parent. Here's code to sh

Re: [rspec-users] [bug] mock expectations fail when a subclass is instantiated

2008-08-16 Thread David Chelimsky
On Sat, Aug 16, 2008 at 4:25 PM, Chuck Remes <[EMAIL PROTECTED]> wrote: > I took a look at the web site but did not see any issue/bug tracker http://rspec.lighthouseapp.com I forwarded this there: http://rspec.lighthouseapp.com/projects/5645/tickets/496 Will respond in that ticket. Cheers, Davi