Sha256: 9eaea6c2125c6f53054e29a32b8629e2b346fa0e7d891291ce70855b361ac19c
Contents?: true
Size: 541 Bytes
Versions: 13
Compression:
Stored size: 541 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
13 entries across 13 versions & 1 rubygems