diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2015-02-20 10:19:33 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2015-02-20 10:26:06 +0900 |
commit | cddc298deaf58a51dfa1938fba7b64052594bbe7 (patch) | |
tree | 4d7505317f064ab4f2e40a9353c97a68a7352c1f /activerecord/test/cases/schema_dumper_test.rb | |
parent | a088ee96918a938159cbeee1a3fe822f0bb46b5d (diff) | |
download | rails-cddc298deaf58a51dfa1938fba7b64052594bbe7.tar.gz rails-cddc298deaf58a51dfa1938fba7b64052594bbe7.tar.bz2 rails-cddc298deaf58a51dfa1938fba7b64052594bbe7.zip |
Add schema dumping tests for datetime and time precision
Diffstat (limited to 'activerecord/test/cases/schema_dumper_test.rb')
-rw-r--r-- | activerecord/test/cases/schema_dumper_test.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/activerecord/test/cases/schema_dumper_test.rb b/activerecord/test/cases/schema_dumper_test.rb index 0413984729..7d8d6421a9 100644 --- a/activerecord/test/cases/schema_dumper_test.rb +++ b/activerecord/test/cases/schema_dumper_test.rb @@ -232,13 +232,6 @@ class SchemaDumperTest < ActiveRecord::TestCase end end - if mysql_56? - def test_schema_dump_includes_datetime_precision - output = standard_dump - assert_match %r{t\.datetime\s+"written_on",\s+precision: 6$}, output - end - end - def test_schema_dump_includes_decimal_options output = dump_all_table_schema([/^[^n]/]) assert_match %r{precision: 3,[[:space:]]+scale: 2,[[:space:]]+default: 2\.78}, output |