Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix enum test unused variable warning. #14273

Merged
merged 1 commit into from

3 participants

@vipulnsward

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

@senny senny merged commit 18db6a7 into rails:master
@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
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?
Something went wrong with that request. Please try again.