aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorrobertomiranda <rjmaltamar@gmail.com>2013-03-05 17:20:02 -0500
committerrobertomiranda <rjmaltamar@gmail.com>2013-03-05 17:20:02 -0500
commit8404925788cb10ea671c0ed9a4c15ba37ddc886e (patch)
treeb6dbba771950c4e9fa5c4a9cbf9adb7ed1c65a79 /actionpack
parentcfa9e61b53660a3656cefe7bfd14fcebc16da411 (diff)
downloadrails-8404925788cb10ea671c0ed9a4c15ba37ddc886e.tar.gz
rails-8404925788cb10ea671c0ed9a4c15ba37ddc886e.tar.bz2
rails-8404925788cb10ea671c0ed9a4c15ba37ddc886e.zip
Add DebugHelperTest
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/test/template/debug_helper_test.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/actionpack/test/template/debug_helper_test.rb b/actionpack/test/template/debug_helper_test.rb
new file mode 100644
index 0000000000..b90ab5bdf2
--- /dev/null
+++ b/actionpack/test/template/debug_helper_test.rb
@@ -0,0 +1,8 @@
+class DebugHelperTest < ActionView::TestCase
+
+ def test_debug
+ company = Company.new(name: "firebase")
+ assert_match "&nbsp; name: firebase", debug(company)
+ end
+
+end