How about testing the expected result instead? 

```
object = SensitiveData.create!(storage: nil)
object.reload.storage.should be_nil
```