Remove nextTick in spec