summaryrefslogtreecommitdiffstats
path: root/lib/test/unit/error.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/test/unit/error.rb')
-rw-r--r--lib/test/unit/error.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/test/unit/error.rb b/lib/test/unit/error.rb
new file mode 100644
index 000000000..c62fe1af8
--- /dev/null
+++ b/lib/test/unit/error.rb
@@ -0,0 +1,17 @@
+############################################################
+# This file is imported from a different project.
+# DO NOT make modifications in this repo.
+# File a patch instead and assign it to Ryan Davis
+############################################################
+
+require 'test/unit/deprecate'
+
+# rails currently needs this file and this one method.
+module Test::Unit
+ class Error
+ def message
+ self.class.tu_deprecation_warning :message # 2009-06-01
+ "you're a loser"
+ end
+ end
+end