aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/adapters/postgresql/enum_test.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/activerecord/test/cases/adapters/postgresql/enum_test.rb b/activerecord/test/cases/adapters/postgresql/enum_test.rb
index 79cb47a02e..62f84caf91 100644
--- a/activerecord/test/cases/adapters/postgresql/enum_test.rb
+++ b/activerecord/test/cases/adapters/postgresql/enum_test.rb
@@ -50,9 +50,7 @@ class PostgresqlEnumTest < ActiveRecord::TestCase
def test_no_oid_warning
@connection.execute "INSERT INTO postgresql_enums VALUES (1, 'sad');"
- stderr_output = capture(:stderr) {
- PostgresqlEnum.first
- }
+ stderr_output = capture(:stderr) { PostgresqlEnum.first }
assert stderr_output.blank?
end