atom/atom — pull request #2826 by nathansobo (2014-07-04 15:59:16+00:00)
Title: Explicitly test removal of flash class prior to next animation frame

@benogle

We went back and forth about these specs in your previous pull. Fine that you merged it as it wasn't worth holding up the presses on since the previous approach did work, but I think this approach is better because the previous tests would have passed even if there was nothing to cause a reflow in between the removal and re-addition of the flashed class. This means the behavior could break when flashes begin before the previous flash ended without breaking the specs.