提交 9c6bde58 编写于 作者: M Max Lapshin 提交者: Michael Koziarski

Fixed tests of postgresql money insertion when non-C locale

Signed-off-by: NTarmo Tänav <tarmo@itech.ee>
Signed-off-by: NMichael Koziarski <michael@koziarski.com>
上级 db5d6950
......@@ -26,6 +26,7 @@ class PostgresqlDataTypeTest < ActiveRecord::TestCase
def setup
@connection = ActiveRecord::Base.connection
@connection.execute("set lc_monetary = 'C'")
@connection.execute("INSERT INTO postgresql_arrays (commission_by_quarter, nicknames) VALUES ( '{35000,21000,18000,17000}', '{foo,bar,baz}' )")
@first_array = PostgresqlArray.find(1)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册