On Sun, Mar 27, 2011 at 1:56 PM, Pixel <thecatwas...@gmail.com> wrote:
> On Sat, Mar 26, 2011 at 8:18 PM, Huw Nichols <huw.nich...@gmail.com> > wrote: > > OK, found the problem and it's not rspec - my bad... > > Turns out that my spork config using guard etc. does not reload model > files > > as it should - looking into that next > > Reloading spork (or killing it and running native) and all tests work as > > expected. > > Sorry for time waste > > H > > > I've seen this same problem with a very similar setup. I believe it's > got to do with the way devise loads up the user model when routes are > loaded, so basically it's a problem between spork and devise. (I use > guard as well, but I don't think it is related.) > > I tried: > https://github.com/timcharper/spork/wiki/Spork.trap_method-Jujutsu > With no luck. You might want to take it to the spork mailing list. > > Have a look at the very latest spork (0.9.0.rc4) on github - I can't recall where I saw it mentioned yesterday but the combo of that devise fix you linked to and upgrading spork seems to be working for me now..
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users