aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-03-05 14:35:59 -0800
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-03-05 14:35:59 -0800
commit8b6e7fa7a0ed9fedbe650aaf40bddfc124f063c6 (patch)
treeb6dbba771950c4e9fa5c4a9cbf9adb7ed1c65a79 /actionpack
parentcfa9e61b53660a3656cefe7bfd14fcebc16da411 (diff)
parent8404925788cb10ea671c0ed9a4c15ba37ddc886e (diff)
downloadrails-8b6e7fa7a0ed9fedbe650aaf40bddfc124f063c6.tar.gz
rails-8b6e7fa7a0ed9fedbe650aaf40bddfc124f063c6.tar.bz2
rails-8b6e7fa7a0ed9fedbe650aaf40bddfc124f063c6.zip
Merge pull request #9574 from robertomiranda/debug_helper_test
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