Permalink
Browse files

Fix syntax error on 5-0-stable build

Followup to a0f210b. The change in xml mini should have been
`BigDecimal` not `::BigDecimal`. `::BigDecimal` causes a syntax error
and the active support tests won't run.

See https://travis-ci.org/rails/rails/jobs/317780305#L810
  • Loading branch information...
eileencodes committed Dec 18, 2017
1 parent 44f0924 commit 867d3ad473e62bf6d79acc49f9df956bb01d845a
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/test/xml_mini_test.rb
@@ -112,7 +112,7 @@ def to_xml(options) options[:builder].yo(options[:root].to_s) end
end
test "#to_tag accepts decimal types" do
@xml.to_tag(:b, ::BigDecimal("1.2"), @options)
@xml.to_tag(:b, BigDecimal("1.2"), @options)
assert_xml("<b type=\"decimal\">1.2</b>")
end

0 comments on commit 867d3ad

Please sign in to comment.