We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca08bcb commit cb62074Copy full SHA for cb62074
test/db/postgresql/simple_test.rb
@@ -305,8 +305,11 @@ def test_bc_timestamp
305
date = DateTime.parse('0000-01-01T00:00:00+00:00') - 1.hour - 1.minute - 1.second
306
db_type = DbType.create!(:sample_timestamp => date)
307
if current_connection_config[:prepared_statements].to_s == 'true'
308
- skip "Likely a JRuby/Java thing - this test is failing bad: check #516"
+ pend "Likely a JRuby/Java thing - this test is failing bad: check #516"
309
end
310
+ if current_connection_config[:insert_returning].to_s == 'true'
311
+ pend "BC timestamps not-handled right with INSERT RETURNIG ..."
312
+ end unless ar_version('4.2')
313
assert_equal date, db_type.reload.sample_timestamp.to_datetime
314
end if ar_version('3.0')
315
0 commit comments