aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-01-04 00:24:40 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-01-04 11:58:43 -0300
commita939506f297b667291480f26fa32a373a18ae06a (patch)
tree67f9dbd9df438ae2bf36b772790939425c446a2b /railties
parent94c87156fd67047d96a6805f2f7b8db0a59cd37a (diff)
downloadrails-a939506f297b667291480f26fa32a373a18ae06a.tar.gz
rails-a939506f297b667291480f26fa32a373a18ae06a.tar.bz2
rails-a939506f297b667291480f26fa32a373a18ae06a.zip
Change the default `null` value for `timestamps` to `false`
Diffstat (limited to 'railties')
-rw-r--r--railties/test/generators/model_generator_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/model_generator_test.rb b/railties/test/generators/model_generator_test.rb
index afee0a655d..f3b699101f 100644
--- a/railties/test/generators/model_generator_test.rb
+++ b/railties/test/generators/model_generator_test.rb
@@ -223,7 +223,7 @@ class ModelGeneratorTest < Rails::Generators::TestCase
def test_migration_with_timestamps
run_generator
- assert_migration "db/migrate/create_accounts.rb", /t.timestamps null: false/
+ assert_migration "db/migrate/create_accounts.rb", /t.timestamps/
end
def test_migration_timestamps_are_skipped