diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2016-11-17 10:20:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-17 10:20:12 +0100 |
commit | b9afb01283b20fefdd655ff59952bf11af559fff (patch) | |
tree | a5694f439bb7b1be4c6861ec0ed5f07c8405e3ee | |
parent | 7f86429a825b46960e9f2212ab040e952ea43613 (diff) | |
parent | f09deb9c8eac8e7bcdcdab42957321ea9ced556b (diff) | |
download | rails-b9afb01283b20fefdd655ff59952bf11af559fff.tar.gz rails-b9afb01283b20fefdd655ff59952bf11af559fff.tar.bz2 rails-b9afb01283b20fefdd655ff59952bf11af559fff.zip |
Merge pull request #27078 from vipulnsward/fix-pg-prepared-statement-test
Fix PG prepared statement test
-rw-r--r-- | activerecord/test/cases/adapters/postgresql/prepared_statements_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/activerecord/test/cases/adapters/postgresql/prepared_statements_test.rb b/activerecord/test/cases/adapters/postgresql/prepared_statements_test.rb index b898929f8a..0a4bc5113e 100644 --- a/activerecord/test/cases/adapters/postgresql/prepared_statements_test.rb +++ b/activerecord/test/cases/adapters/postgresql/prepared_statements_test.rb @@ -1,4 +1,5 @@ require "cases/helper" +require "models/computer" require "models/developer" class PreparedStatementsTest < ActiveRecord::PostgreSQLTestCase @@ -13,7 +14,7 @@ class PreparedStatementsTest < ActiveRecord::PostgreSQLTestCase Developer.connection_config[:prepared_statements] = @default_prepared_statements end - def nothing_raised_with_falsy_prepared_statements + def test_nothing_raised_with_falsy_prepared_statements assert_nothing_raised do Developer.where(id: 1) end |