spec/support/database.rb in pg_search-2.0.1 vs spec/support/database.rb in pg_search-2.1.0

- old
+ new

@@ -1,10 +1,10 @@ if defined? JRUBY_VERSION require "activerecord-jdbc-adapter" error_classes = [ActiveRecord::JDBCError] else require "pg" - error_classes = [PGError] + error_classes = [PG::Error] end error_classes << ActiveRecord::NoDatabaseError if defined? ActiveRecord::NoDatabaseError begin