aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2006-07-24 17:14:48 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2006-07-24 17:14:48 +0000
commit89011da0defaf19f0ea02e979531c10a98f3dc6f (patch)
tree1480f63bb985a87b37d242fa955989b1d3cebea3 /activerecord
parent971e03f24e1121a2fe03beab23b0370a64fcfc37 (diff)
downloadrails-89011da0defaf19f0ea02e979531c10a98f3dc6f.tar.gz
rails-89011da0defaf19f0ea02e979531c10a98f3dc6f.tar.bz2
rails-89011da0defaf19f0ea02e979531c10a98f3dc6f.zip
BigDecimal: schema dumper formatting
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4619 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/schema_dumper_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/schema_dumper_test.rb b/activerecord/test/schema_dumper_test.rb
index 21e47ce609..330a4b16f8 100644
--- a/activerecord/test/schema_dumper_test.rb
+++ b/activerecord/test/schema_dumper_test.rb
@@ -89,7 +89,7 @@ if ActiveRecord::Base.connection.respond_to?(:tables)
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