aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/result_test.rb
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2018-01-18 13:06:08 -0500
committereileencodes <eileencodes@gmail.com>2018-01-18 13:09:15 -0500
commite0ad907ade3bca1c57a32c1987c4080305019845 (patch)
treeab57a99955f5c90e039d88c0c97eee992c8f8be4 /activerecord/test/cases/result_test.rb
parent4d4db4c86163c9b3fd242db543007bc3adf2d115 (diff)
downloadrails-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/result_test.rb')
0 files changed, 0 insertions, 0 deletions