Skip to content
Browse files

BigDecimal: schema dumper formatting

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4619 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 971e03f commit 89011da0defaf19f0ea02e979531c10a98f3dc6f @jeremy jeremy committed Jul 24, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/schema_dumper_test.rb
View
2 activerecord/test/schema_dumper_test.rb
@@ -89,7 +89,7 @@ def test_schema_dump_includes_decimal_options
ActiveRecord::SchemaDumper.ignore_tables = [/^[^n]/]
ActiveRecord::SchemaDumper.dump(ActiveRecord::Base.connection, stream)
output = stream.string
- assert_match %r{:precision => 3,[[:space:]]+:scale => 2,[[:space:]]+:default => 0.278E1}, output
+ assert_match %r{:precision => 3,[[:space:]]+:scale => 2,[[:space:]]+:default => 2.78}, output
end
end

0 comments on commit 89011da

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