Permalink
Browse files

Fix enum test unused variable warning.

Related - 5c55aaf
  • Loading branch information...
1 parent 9ada39f commit 6e66de6091f15bcd0c3cbec0d6a6b8ba66d227d3 @vipulnsward vipulnsward committed Mar 4, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/adapters/postgresql/enum_test.rb
View
2 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 6e66de6

Please sign in to comment.