Skip to content

Commit c7b096a

Browse files
committed
skip testing trigger with prepared statements on AR 3.1
1 parent 4710069 commit c7b096a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/db/postgresql/table_name_test.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ class SerialWithTrigger < ActiveRecord::Base;
8989
end
9090

9191
test 'serial with trigger' do
92+
skip('fails with prepared statements') if prepared_statements?
9293
sn = SerialWithTrigger.create! :value => 1234567890.to_s
9394
assert sn.reload
9495

0 commit comments

Comments
 (0)