Gitstar Ranking
Users
Organizations
Repositories
Rankings
Users
Organizations
Repositories
Sign in with GitHub
sj26
Fetched on 2024/05/01 01:09
sj26
/
no-peeping-toms
Disables observers during testing, allowing you to write model tests that are completely decoupled from the observer. Also lets you enable observers for a certain block of code, so that you can write observer tests -
View it on GitHub
http://www.patmaddox.com/blog/2007/11/22/better-rails-testing-decoupling-observers
Star
2
Rank
3413805