diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-06-02 08:19:21 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-06-03 00:43:42 +0900 |
commit | 14ff8e79060f489f8282ea874e40e60d45ca7801 (patch) | |
tree | 6291e435c921ead17474a37a823b907bbc988706 | |
parent | b604dd0b81c44c3b4605f31e8f4b914fa7686b1a (diff) | |
download | rails-14ff8e79060f489f8282ea874e40e60d45ca7801.tar.gz rails-14ff8e79060f489f8282ea874e40e60d45ca7801.tar.bz2 rails-14ff8e79060f489f8282ea874e40e60d45ca7801.zip |
Fix debug helper test
-rw-r--r-- | actionview/test/activerecord/debug_helper_test.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/actionview/test/activerecord/debug_helper_test.rb b/actionview/test/activerecord/debug_helper_test.rb index 03cb1d5a91..ed1c08e134 100644 --- a/actionview/test/activerecord/debug_helper_test.rb +++ b/actionview/test/activerecord/debug_helper_test.rb @@ -4,7 +4,10 @@ require 'nokogiri' class DebugHelperTest < ActionView::TestCase def test_debug company = Company.new(name: "firebase") - assert_match "name: firebase", debug(company) + output = debug(company) + assert_match "name: name", output + assert_match "value_before_type_cast: firebase", output + assert_match "active_record_yaml_version: 2", output end def test_debug_with_marshal_error |