From 8ae040b131b5337edbe77244d81273808c3b15b9 Mon Sep 17 00:00:00 2001 From: Norman Clarke Date: Sun, 3 Mar 2013 18:27:29 -0800 Subject: [PATCH] Silence a silly warning in tests In Rails < 4.0 this variable is initialized but unused --- test/templates/_text_area_helper.html.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/templates/_text_area_helper.html.haml b/test/templates/_text_area_helper.html.haml index 3d733a87..f70d044f 100644 --- a/test/templates/_text_area_helper.html.haml +++ b/test/templates/_text_area_helper.html.haml @@ -1,3 +1,4 @@ +- defined?(text_area_helper) and nil # silence a warning .foo .bar - = text_area :post, :body \ No newline at end of file + = text_area :post, :body