Gitstar Ranking
Users
Organizations
Repositories
Rankings
Users
Organizations
Repositories
Sign in with GitHub
leereilly
Fetched on 2024/11/22 09:57
leereilly
/
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
1
Rank
4894337