aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases
diff options
context:
space:
mode:
authorEugene Kenny <elkenny@gmail.com>2017-06-10 23:21:12 +0100
committerEugene Kenny <elkenny@gmail.com>2017-06-14 20:24:58 +0100
commitb0180c910ee28efa8dd972401156062c8800707d (patch)
tree32aabfacf50c581bd8b17e4e7c2ac3e308dcb423 /activemodel/test/cases
parent816a3763d9bb070bf339de32c6a3ce31a45369f8 (diff)
downloadrails-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 'activemodel/test/cases')
0 files changed, 0 insertions, 0 deletions