Skip to content

Commit

Permalink
Merge pull request #27078 from vipulnsward/fix-pg-prepared-statement-…
Browse files Browse the repository at this point in the history
…test

Fix PG prepared statement test
  • Loading branch information
kaspth committed Nov 17, 2016
2 parents 7f86429 + f09deb9 commit b9afb01
Showing 1 changed file with 2 additions and 1 deletion.
@@ -1,4 +1,5 @@
require "cases/helper"
require "models/computer"
require "models/developer"

class PreparedStatementsTest < ActiveRecord::PostgreSQLTestCase
Expand All @@ -13,7 +14,7 @@ def teardown
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
Expand Down

0 comments on commit b9afb01

Please sign in to comment.