Permalink
Browse files

ensure that deprecation errors are always shown in specs... if you wa…

…nt to write tests for a deprecation, silence/enable them in a before/after block
  • Loading branch information...
1 parent b9131dc commit 39a5079ca2e6b696c2fc86137d1c00a9577d76aa @justinfrench committed Nov 15, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/spec_helper.rb
View
@@ -189,4 +189,4 @@ def protect_against_forgery?
end
-::ActiveSupport::Deprecation.silenced = true
+::ActiveSupport::Deprecation.silenced = false

0 comments on commit 39a5079

Please sign in to comment.