spec/support/database.rb in pg_search-2.1.2 vs spec/support/database.rb in pg_search-2.1.3

- old
+ new

@@ -39,9 +39,10 @@ def install_extension(name) connection = ActiveRecord::Base.connection extension = connection.execute "SELECT * FROM pg_catalog.pg_extension WHERE extname = '#{name}';" return unless extension.none? + connection.execute "CREATE EXTENSION #{name};" rescue StandardError => exception at_exit do puts "-" * 80 puts "Please install the #{name} extension"