aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/plugin_generator_test.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-12-04 08:18:31 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-12-04 08:31:51 +0900
commit07788c7ad8bad797ec97cba038e37e007f343afa (patch)
tree35851e167bce2d4e10ed60145ef4bb12bfcf877f /railties/test/generators/plugin_generator_test.rb
parent14a1ad2f5abbb6dc6494ac531dba99d38a178858 (diff)
downloadrails-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/plugin_generator_test.rb')
0 files changed, 0 insertions, 0 deletions