Permalink
Browse files

Merge pull request #14273 from vipulnsward/fix-warning-13244

Fix enum test unused variable warning.
  • Loading branch information...
2 parents 9ada39f + 6e66de6 commit 18db6a70be0da7a8b5c0fe120d5d45fdd29ced40 @senny senny committed Mar 4, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/adapters/postgresql/enum_test.rb
@@ -51,7 +51,7 @@ def test_invalid_enum_update
def test_no_oid_warning
@connection.execute "INSERT INTO postgresql_enums VALUES (1, 'sad');"
stderr_output = capture(:stderr) {
- enum = PostgresqlEnum.first
+ PostgresqlEnum.first
}
assert stderr_output.blank?

0 comments on commit 18db6a7

Please sign in to comment.