Skip to content
Browse files

Fix 1.9-specific syntax error in test

  • Loading branch information...
1 parent 4b36daf commit 8b79c7c202fca443fd4d7a611900a5c2efbe08a9 @jeremy jeremy committed Apr 17, 2010
Showing with 1 addition and 4 deletions.
  1. +1 −4 activesupport/test/core_ext/array_ext_test.rb
View
5 activesupport/test/core_ext/array_ext_test.rb
@@ -304,10 +304,7 @@ def test_to_xml_with_block
class Namespaced < Hash
end
def test_to_xml_with_namespaced_classes
- xml = [
- Namespaced.new :name => "David"
- ].to_xml
-
+ xml = [Namespaced.new(:name => "David")].to_xml
assert_match(/<array\-to\-xml\-tests\-namespaceds/, xml)
end

0 comments on commit 8b79c7c

Please sign in to comment.
Something went wrong with that request. Please try again.