aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/connection_specification/resolver_test.rb
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2014-04-03 01:41:34 +1030
committerMatthew Draper <matthew@trebex.net>2014-04-03 01:41:34 +1030
commit0a99fddc140d8aa54a8922e745624a250877658b (patch)
tree12ec5f1c392c927ae13b8fe889350de61b056942 /activerecord/test/cases/connection_specification/resolver_test.rb
parentf846828dae77696daea3bafd91a25a62977be481 (diff)
downloadrails-0a99fddc140d8aa54a8922e745624a250877658b.tar.gz
rails-0a99fddc140d8aa54a8922e745624a250877658b.tar.bz2
rails-0a99fddc140d8aa54a8922e745624a250877658b.zip
Complete change of `sqlite3:///` path handling
That which was now relative is now absolute.
Diffstat (limited to 'activerecord/test/cases/connection_specification/resolver_test.rb')
-rw-r--r--activerecord/test/cases/connection_specification/resolver_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/connection_specification/resolver_test.rb b/activerecord/test/cases/connection_specification/resolver_test.rb
index a4fe87049a..3c2f5d4219 100644
--- a/activerecord/test/cases/connection_specification/resolver_test.rb
+++ b/activerecord/test/cases/connection_specification/resolver_test.rb
@@ -83,8 +83,8 @@ module ActiveRecord
end
def test_url_with_authority_for_sqlite3
- spec = assert_deprecated { resolve 'sqlite3:///foo_test' }
- assert_equal('foo_test', spec["database"])
+ spec = resolve 'sqlite3:///foo_test'
+ assert_equal('/foo_test', spec["database"])
end
def test_url_absolute_path_for_sqlite3