Permalink
Browse files

use valid yaml in tests

  • Loading branch information...
1 parent ea9ef39 commit 00da7bc5f85eec518ea8e7f7fa06fd28fc61a135 @tenderlove tenderlove committed May 13, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/test/controller/webservice_test.rb
@@ -215,7 +215,7 @@ def test_entities_unescaped_as_xml_simple
def test_typecast_as_yaml
with_test_route_set do
with_params_parsers Mime::YAML => :yaml do
- yaml = <<-YAML
+ yaml = (<<-YAML).strip
---
data:
a: 15

0 comments on commit 00da7bc

Please sign in to comment.