Are ActiveRecord:Observer callbacks called during unit testing?

Posted by Frank on Stack Overflow See other posts from Stack Overflow or by Frank
Published on 2010-04-06T23:01:04Z Indexed on 2010/04/06 23:03 UTC
Read the original article Hit count: 143

Filed under:
|
|

I'm trying to unit test an observer in rails but none of its callbacks are being invoked. I'm sure I have something configured incorrectly but just to be sure I was wondering if this may be a Rails limitation during unit testing.

I've looked at the docs and they don't mention anything.

© Stack Overflow or respective owner

Related posts about unit

Related posts about test