Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Fix enum test unused variable warning. #14273

merged 1 commit into from

3 participants


Fix enum test unused variable warning.
Related - 5c55aaf
cc @senny

@senny senny merged commit 18db6a7 into from
@senny senny added the enum label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 4, 2014
  1. @vipulnsward
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/test/cases/adapters/postgresql/enum_test.rb
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?
Something went wrong with that request. Please try again.