Skip to content

Commit 1b77f80

Browse files
committed
type_cast only accepts one param now
1 parent 3736df5 commit 1b77f80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/db/postgresql/simple_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ def test_extensions
209209
end
210210

211211
test 'type cast (without column)' do
212-
assert_equal 1, connection.type_cast(1, false)
213-
assert_equal 'some', connection.type_cast(:some, nil)
212+
assert_equal 1, connection.type_cast(1)
213+
assert_equal 'some', connection.type_cast(:some)
214214
end
215215

216216
# def test_jdbc_error

0 commit comments

Comments
 (0)