diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-03-22 19:51:10 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-03-22 19:51:10 -0700 |
commit | 3e0c5df3134f2a28822c267aa55916322750b42a (patch) | |
tree | 26fe3d6b9028f3f1e33ff2862c7ed2481708deea /test | |
parent | 4110ae48f57b1eaa6e8caeffaf5a70f1e32f6973 (diff) | |
download | psych-3e0c5df3134f2a28822c267aa55916322750b42a.zip |
fixing and deprecating load_documents
Diffstat (limited to 'test')
-rw-r--r-- | test/psych/test_psych.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/psych/test_psych.rb b/test/psych/test_psych.rb index de51fc5..1d13056 100644 --- a/test/psych/test_psych.rb +++ b/test/psych/test_psych.rb @@ -13,10 +13,7 @@ class TestPsych < MiniTest::Unit::TestCase end def test_load_documents - docs = [] - Psych.load_documents("--- foo\n...\n--- bar\n...") { |doc| - docs << doc - } + docs = Psych.load_documents("--- foo\n...\n--- bar\n...") assert_equal %w{ foo bar }, docs end |