diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-11-29 12:47:54 +0000 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-11-29 12:47:54 +0000 |
commit | d534c8fbe26dbc1101d80ad3af4cf166d0e3cda8 (patch) | |
tree | 06d2d9861bc5d96092fc033e563fb4cf39138b20 /activerecord/test/cases | |
parent | 1defb6adb8be9051402d2496ded4bb8233d0d925 (diff) | |
download | rails-d534c8fbe26dbc1101d80ad3af4cf166d0e3cda8.tar.gz rails-d534c8fbe26dbc1101d80ad3af4cf166d0e3cda8.tar.bz2 rails-d534c8fbe26dbc1101d80ad3af4cf166d0e3cda8.zip |
Fix resolver_test.rb on travis (postgresql isn't setup, so it can't load the connection adapter)
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/connection_specification/resolver_test.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/activerecord/test/cases/connection_specification/resolver_test.rb b/activerecord/test/cases/connection_specification/resolver_test.rb index 1ca9a00c85..a7623d0a66 100644 --- a/activerecord/test/cases/connection_specification/resolver_test.rb +++ b/activerecord/test/cases/connection_specification/resolver_test.rb @@ -9,27 +9,27 @@ module ActiveRecord end def test_url_host_no_db - spec = resolve 'postgres://foo?encoding=utf8' + spec = resolve 'mysql://foo?encoding=utf8' assert_equal({ - :adapter => "postgresql", + :adapter => "mysql", :database => "", :host => "foo", :encoding => "utf8" }, spec) end def test_url_host_db - spec = resolve 'postgres://foo/bar?encoding=utf8' + spec = resolve 'mysql://foo/bar?encoding=utf8' assert_equal({ - :adapter => "postgresql", + :adapter => "mysql", :database => "bar", :host => "foo", :encoding => "utf8" }, spec) end def test_url_port - spec = resolve 'postgres://foo:123?encoding=utf8' + spec = resolve 'mysql://foo:123?encoding=utf8' assert_equal({ - :adapter => "postgresql", + :adapter => "mysql", :database => "", :port => 123, :host => "foo", |