diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2010-03-11 18:37:28 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-03-11 18:37:28 -0800 |
commit | f10631e13d373523c1ede9c73a5d7eb2e0529a27 (patch) | |
tree | 30b66985b3a304443b9b839e0639ff7887e23bf7 /activesupport/test | |
parent | 5a7f7928a60749095dd890abfceff45a9912b8d2 (diff) | |
download | rails-f10631e13d373523c1ede9c73a5d7eb2e0529a27.tar.gz rails-f10631e13d373523c1ede9c73a5d7eb2e0529a27.tar.bz2 rails-f10631e13d373523c1ede9c73a5d7eb2e0529a27.zip |
Be sure to pass through args to to_yaml
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/core_ext/string_ext_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/string_ext_test.rb b/activesupport/test/core_ext/string_ext_test.rb index 6b296fb757..a50e259726 100644 --- a/activesupport/test/core_ext/string_ext_test.rb +++ b/activesupport/test/core_ext/string_ext_test.rb @@ -446,7 +446,7 @@ class OutputSafetyTest < ActiveSupport::TestCase end test 'emits normal string yaml' do - assert_equal 'foo'.to_yaml, 'foo'.html_safe.to_yaml + assert_equal 'foo'.to_yaml, 'foo'.html_safe.to_yaml(:foo => 1) end end |