diff options
author | eileencodes <eileencodes@gmail.com> | 2018-01-18 13:06:08 -0500 |
---|---|---|
committer | eileencodes <eileencodes@gmail.com> | 2018-01-18 13:09:15 -0500 |
commit | e0ad907ade3bca1c57a32c1987c4080305019845 (patch) | |
tree | ab57a99955f5c90e039d88c0c97eee992c8f8be4 /activerecord/test/cases/numeric_data_test.rb | |
parent | 4d4db4c86163c9b3fd242db543007bc3adf2d115 (diff) | |
download | rails-e0ad907ade3bca1c57a32c1987c4080305019845.tar.gz rails-e0ad907ade3bca1c57a32c1987c4080305019845.tar.bz2 rails-e0ad907ade3bca1c57a32c1987c4080305019845.zip |
Add test to properly test down with a block
down is only called with a block from the rake tasks where it passes a
`SCOPE`. Technically this was tested but since we don't run all the
migrations we're not actually testing the down works with a `SCOPE`. To
ensure we're testing both we can run `db:migrate` again to migrate users
and then run `down` with a scope to test that only the bukkits migration
is reverted.
Updates test to prevent having to fix regressions like we did in
4d4db4c.
Diffstat (limited to 'activerecord/test/cases/numeric_data_test.rb')
0 files changed, 0 insertions, 0 deletions