diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-12-04 08:18:31 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-12-04 08:31:51 +0900 |
commit | 07788c7ad8bad797ec97cba038e37e007f343afa (patch) | |
tree | 35851e167bce2d4e10ed60145ef4bb12bfcf877f /railties/test/generators/scaffold_generator_test.rb | |
parent | 14a1ad2f5abbb6dc6494ac531dba99d38a178858 (diff) | |
download | rails-07788c7ad8bad797ec97cba038e37e007f343afa.tar.gz rails-07788c7ad8bad797ec97cba038e37e007f343afa.tar.bz2 rails-07788c7ad8bad797ec97cba038e37e007f343afa.zip |
`current_version` should catch `NoDatabaseError` from `get_all_versions`
`get_all_versions` doesn't use passed `connection`. So it should be
caught `NoDatabaseError` from `SchemaMigration.table_exists?`.
Diffstat (limited to 'railties/test/generators/scaffold_generator_test.rb')
0 files changed, 0 insertions, 0 deletions