…trying to debug some interaction between my model specs, a
particular spec passes by itself but fails when I run all my model
specs. I can’t figure out how the execution sequence is performed when
I do spec spec/models. Does anybody know what the criterion is for the
execution sequence?
…trying to debug some interaction between my model specs, a
particular spec passes by itself but fails when I run all my model
specs.
Whenever this happens to me, 90% of the time the cause of the problem
is database state. The state of the database is different for that
particular spec when you run it singularly versus with the suite. I
would suggest starting there. Hope that helps.
I can’t figure out how the execution sequence is performed when
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.