diff options
author | schneems <richard.schneeman@gmail.com> | 2013-12-21 23:09:01 -0500 |
---|---|---|
committer | schneems <richard.schneeman@gmail.com> | 2013-12-21 23:09:01 -0500 |
commit | a1f9ae5eb8b3ff6fd2f55f6518d220de1838e74f (patch) | |
tree | a79914c4333799c3f21422be75d48d7818da15f5 /railties/test/test_info_test.rb | |
parent | 6d255b741c688671716f50008b8f0c86aab052cf (diff) | |
download | rails-a1f9ae5eb8b3ff6fd2f55f6518d220de1838e74f.tar.gz rails-a1f9ae5eb8b3ff6fd2f55f6518d220de1838e74f.tar.bz2 rails-a1f9ae5eb8b3ff6fd2f55f6518d220de1838e74f.zip |
Fix DB Console tests
The build is broken: https://travis-ci.org/rails/rails/builds/15824530
This commit fixes it.
The problem: Sqlite expects the `database` part to be an absolute path. That prompted this change to be committed to master: https://github.com/rails/rails/commit/fbb79b517f3127ba620fedd01849f9628b78d6ce
This change provides correct behavior. Unfortunately tests were introduced in https://github.com/rails/rails/commit/971d5107cd4cd08c22a85d34546f4ba03ed5c925 that were relying on the incorrect behavior. We can avoid the fix by changing to another database url such as `mysql` or `postgresql`
In addition to fixing the failure, the assertions are changed so that the "expected" value comes before "actual" value.
Diffstat (limited to 'railties/test/test_info_test.rb')
0 files changed, 0 insertions, 0 deletions