Temporarily toggle the behavior of doubles for an RSpec example group.