Hi David and fellows,
I know this subject has already been discussed here and there are
already some attempts to support the given-when-then-and syntax in
Rspec, like the links below:
https://gist.github.com/206969
https://github.com/jimweirich/rspec-given
First, I don't understand the reaso
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