diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2017-12-08 13:23:31 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2017-12-08 13:23:31 -0800 |
commit | a58543dbb1ea52f3cb0c98d054ffd7bc7a373765 (patch) | |
tree | 2f68bf52a4f9e14ee8142e3851b00e61af117820 /railties/test/fixtures/lib/generators/model_generator.rb | |
parent | da225c0db640aec1df0920e86c1eb4ca35d82073 (diff) | |
download | rails-a58543dbb1ea52f3cb0c98d054ffd7bc7a373765.tar.gz rails-a58543dbb1ea52f3cb0c98d054ffd7bc7a373765.tar.bz2 rails-a58543dbb1ea52f3cb0c98d054ffd7bc7a373765.zip |
Add failing test for wrong database connection
When tests are run with just `ruby`, the RAILS_ENV is set to
`development` too early, and we connect to the development database
rather than the test database.
Diffstat (limited to 'railties/test/fixtures/lib/generators/model_generator.rb')
0 files changed, 0 insertions, 0 deletions