Displaying 1 result from an estimated 1 matches for "do_creat".
Did you mean:
o_creat
2007 Jan 08
2
thoughts on mocks and specs
I spent the last couple of days getting my sea legs with Rails and
RSpec. I''d been waiting til things seemed calmer before jumping in,
and I''m overall very happy with my experience so far.
My only real annoyance so far has been forgetting to call "do_post" or
"do_create" from my specify blocks. My mocks don''t get the calls they
want, and it usually isn''t until I''ve mucked around in my application
code for a bit that I realize the real problem.
Wouldn''t it be nice to be able to define a callback that gets run
after every s...