Tagged in

Ruby on Rails

The OOZOU Blog
The OOZOU Blog
A design-driven team of engineers and creatives with a decade of experience helping companies build better products and services.
More information
Followers
607
Elsewhere
More, on Medium

Never Skip a Callback in Your Tests

On SlimWiki code, one failing test took me a whole day to track down. The worst thing is that the spec passes when the example is run in isolation, but fails when run in a test suite.

rspec spec/features/some_spec.rb:123   # passes
rspec…