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 eb16ad9 commit 071b3d2Copy full SHA for 071b3d2
test/db/postgresql/simple_test.rb
@@ -66,6 +66,27 @@ def test_custom_select_decimal
66
end
67
68
69
+ class Payment < ActiveRecord::Base; end
70
+
71
+ # @override
72
+ def test_insert_returns_id
73
+ super
74
75
+# begin
76
+# connection.create_table 'payments', :force => true do |t|
77
+# t.integer "amount"
78
+# t.text "notes"
79
+# t.datetime "created_at", :null => false
80
+# t.datetime "updated_at", :null => false
81
+# end
82
+#
83
+# p = Payment.create!
84
+# assert p.id
85
+# ensure
86
+# connection.drop_table 'payments' rescue nil
87
88
+ end
89
90
def test_encoding
91
assert_not_nil connection.encoding
92
0 commit comments