Sha256: 5a145c1be754bfb01bba122064b963896cd4dcbfa7dd1832724bf323db33e76f
Contents?: true
Size: 563 Bytes
Versions: 10
Compression:
Stored size: 563 Bytes
Contents
require "cases/helper" require "models/developer" class PreparedStatementsTest < ActiveRecord::PostgreSQLTestCase fixtures :developers def setup @default_prepared_statements = Developer.connection_config[:prepared_statements] Developer.connection_config[:prepared_statements] = false end def teardown Developer.connection_config[:prepared_statements] = @default_prepared_statements end def nothing_raised_with_falsy_prepared_statements assert_nothing_raised do Developer.where(id: 1) end end end
Version data entries
10 entries across 10 versions & 1 rubygems