On Sun, Mar 27, 2011 at 1:56 PM, Pixel wrote:
> On Sat, Mar 26, 2011 at 8:18 PM, Huw Nichols
> 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
On Sat, Mar 26, 2011 at 8:18 PM, Huw Nichols 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 a
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
On Mar 26, 2011, at 12:36 PM, Huw Nichols wrote:
> Hi,
>
> Just been looking for answers to this very question:
>
> I have a User model (using devise) and the same problem.
>
> Both the before_create and after_create callbacks fail to run from within
> Rspec2
>
> I can even put invalid cod
Hi,
Just been looking for answers to this very question:
I have a User model (using devise) and the same problem.
Both the before_create and after_create callbacks fail to run from within
Rspec2
I can even put invalid code in the callbacks and it is not detected until I
switch to dev and run
On Mar 2, 2011, at 11:49 AM, Andrea Reginato wrote:
> Hi, I'm having some strange behavior on callbacks when testing with
> RSpec2. On my test, when I create a resource using the #create method
> the callbacks related to #before_create are not called. If I go to the
> console and I try to type the
Hi, I'm having some strange behavior on callbacks when testing with
RSpec2. On my test, when I create a resource using the #create method
the callbacks related to #before_create are not called. If I go to the
console and I try to type the command Resource.create(client_uri:
"http://example.com";) a