diff options
author | Jay Hayes <ur@iamvery.com> | 2015-04-26 22:17:05 -0500 |
---|---|---|
committer | Jay Hayes <ur@iamvery.com> | 2015-10-20 19:17:58 -0500 |
commit | 213ff7ca0c27739715bda83a9c6237c03a577c2b (patch) | |
tree | 3c57fd5d09ba67827bdb87f4bc21a981d64d9221 /railties/exe | |
parent | 0d216d1add9eaaddfc0b02813ccf08fd22910859 (diff) | |
download | rails-213ff7ca0c27739715bda83a9c6237c03a577c2b.tar.gz rails-213ff7ca0c27739715bda83a9c6237c03a577c2b.tar.bz2 rails-213ff7ca0c27739715bda83a9c6237c03a577c2b.zip |
Add tests to verify exit status for create/drop failures
* Running the db:create task when the database already exists isn't
really an error case. That is processing may proceed in this case
because the database exists as requested. So let's validate that
behavior with a test.
* Likewise, if the database doesn't exist when running the db:drop task
processing may continue as the requested condition is already met.
Thus a test.
Diffstat (limited to 'railties/exe')
0 files changed, 0 insertions, 0 deletions