spec/helpers.rb in pg-0.18.4 vs spec/helpers.rb in pg-0.19.0.pre20160409114042
- old
+ new
@@ -337,19 +337,16 @@
config.filter_run_excluding :windows
end
config.filter_run_excluding :socket_io unless
PG::Connection.instance_methods.map( &:to_sym ).include?( :socket_io )
- config.filter_run_excluding :postgresql_90 unless
- PG::Connection.instance_methods.map( &:to_sym ).include?( :escape_literal )
-
- if !PG.respond_to?( :library_version )
- config.filter_run_excluding( :postgresql_91, :postgresql_92, :postgresql_93, :postgresql_94 )
- elsif PG.library_version < 90200
- config.filter_run_excluding( :postgresql_92, :postgresql_93, :postgresql_94 )
+ if PG.library_version < 90200
+ config.filter_run_excluding( :postgresql_92, :postgresql_93, :postgresql_94, :postgresql_95 )
elsif PG.library_version < 90300
- config.filter_run_excluding( :postgresql_93, :postgresql_94 )
+ config.filter_run_excluding( :postgresql_93, :postgresql_94, :postgresql_95 )
elsif PG.library_version < 90400
- config.filter_run_excluding( :postgresql_94 )
+ config.filter_run_excluding( :postgresql_94, :postgresql_95 )
+ elsif PG.library_version < 90500
+ config.filter_run_excluding( :postgresql_95 )
end
end