Gitstar Ranking
Users
Organizations
Repositories
Rankings
Users
Organizations
Repositories
Sign in with GitHub
rmm5t
Fetched on 2024/05/01 02:01
rmm5t
/
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
3418516