Gitstar Ranking
Users
Organizations
Repositories
Rankings
Users
Organizations
Repositories
Sign in with GitHub
zdennis
Fetched on 2024/05/01 04:12
zdennis
/
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://evang.eli.st/blog/2007/11/22/better-rails-testing-decoupling-observers
Star
2
Rank
3413805