Skip to content

Commit 210d2c2

Browse files
committed
Remove reference to testing with test_after_commit
1 parent 964d41a commit 210d2c2

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -189,11 +189,6 @@ class MyActiveJobWorker < ::CarrierWave::Workers::ActiveJob::StoreAsset
189189
end
190190
```
191191

192-
### Testing with Rspec
193-
We use the after_commit hook when using active_record. This creates a problem when testing with Rspec because after_commit never gets fired
194-
if you're using transactional fixtures. One solution to the problem is to use the [TestAfterCommit gem](https://github.com/grosser/test_after_commit).
195-
There are various other solutions in which case google is your friend.
196-
197192
## License
198193

199194
Copyright (c) 2011 Larry Sprock

0 commit comments

Comments
 (0)