Order of execution of specs

…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?

thanks in advance

Les

On Feb 16, 4:31pm, LesNightingill [email protected] wrote:

…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.

| Privacy Policy | Terms of Service | Remote Ruby Jobs