aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/connection_specification/resolver_test.rb
diff options
context:
space:
mode:
authorJeremy Daer <jeremydaer@gmail.com>2017-10-08 16:14:02 -0700
committerGitHub <noreply@github.com>2017-10-08 16:14:02 -0700
commit34d12d1483236f997125e2b1f17b96e76fdff99b (patch)
treeaeab3d0beb5db79c95f7390e9a21bb02f2d40223 /activerecord/test/cases/connection_specification/resolver_test.rb
parent00f2d39c2e3111bf695aed9335388f0e06904d6a (diff)
parent55a2c101b2889710e1591c9adc15e4d5ca7fb126 (diff)
downloadrails-34d12d1483236f997125e2b1f17b96e76fdff99b.tar.gz
rails-34d12d1483236f997125e2b1f17b96e76fdff99b.tar.bz2
rails-34d12d1483236f997125e2b1f17b96e76fdff99b.zip
Merge pull request #30757 from jeremy/optional-dependency-hellscape
Adapters bubble up gem version mismatches for their dependencies
Diffstat (limited to 'activerecord/test/cases/connection_specification/resolver_test.rb')
-rw-r--r--activerecord/test/cases/connection_specification/resolver_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/connection_specification/resolver_test.rb b/activerecord/test/cases/connection_specification/resolver_test.rb
index 3fa0ca8366..5b80f16a44 100644
--- a/activerecord/test/cases/connection_specification/resolver_test.rb
+++ b/activerecord/test/cases/connection_specification/resolver_test.rb
@@ -19,7 +19,7 @@ module ActiveRecord
spec "ridiculous://foo?encoding=utf8"
end
- assert_match "Could not load 'active_record/connection_adapters/ridiculous_adapter'", error.message
+ assert_match "Could not load the 'ridiculous' Active Record adapter. Ensure that the adapter is spelled correctly in config/database.yml and that you've added the necessary adapter gem to your Gemfile.", error.message
end
# The abstract adapter is used simply to bypass the bit of code that