RSpec & Rails: how to test callbacks
Sometimes it's not clear which way to approach a complex callback and how to test it. For example, in...
Tags: rspec, ruby, rails, beginners