diff options
author | Eugene Kenny <elkenny@gmail.com> | 2017-06-10 23:21:12 +0100 |
---|---|---|
committer | Eugene Kenny <elkenny@gmail.com> | 2017-06-14 20:24:58 +0100 |
commit | b0180c910ee28efa8dd972401156062c8800707d (patch) | |
tree | 32aabfacf50c581bd8b17e4e7c2ac3e308dcb423 /activerecord/test/cases/schema_loading_test.rb | |
parent | 816a3763d9bb070bf339de32c6a3ce31a45369f8 (diff) | |
download | rails-b0180c910ee28efa8dd972401156062c8800707d.tar.gz rails-b0180c910ee28efa8dd972401156062c8800707d.tar.bz2 rails-b0180c910ee28efa8dd972401156062c8800707d.zip |
Allow `uuid_test.rb` to be loaded on all adapters
Running `bin/test` from the activerecord directory produces this error:
test/cases/adapters/postgresql/uuid_test.rb:43:in `<class:PostgresqlUUIDTest>': undefined method `supports_pgcrypto_uuid?' for #<ActiveRecord::ConnectionAdapters::SQLite3Adapter:0x007fc405e72a68> (NoMethodError)
The test only actually runs on the PostgreSQL adapter; we can avoid
triggering the error on other adapters with this `respond_to?` guard.
Diffstat (limited to 'activerecord/test/cases/schema_loading_test.rb')
0 files changed, 0 insertions, 0 deletions