rename on_remove, on_drop

This commit is contained in:
Sam
2017-05-04 13:41:05 -04:00
parent 81326f85e5
commit 7a15b44ac3
6 changed files with 8 additions and 8 deletions

View File

@ -30,7 +30,7 @@ describe ColumnDropper do
after_migration: name,
columns: ['junk'],
delay: 20.minutes,
on_remove: ->(){dropped_proc_called = true}
on_drop: ->(){dropped_proc_called = true}
)
expect(has_column?('topics', 'junk')).to eq(true)
@ -41,7 +41,7 @@ describe ColumnDropper do
after_migration: name,
columns: ['junk'],
delay: 10.minutes,
on_remove: ->(){dropped_proc_called = true}
on_drop: ->(){dropped_proc_called = true}
)
expect(has_column?('topics', 'junk')).to eq(false)