diff options
author | Vipul A M <vipulnsward@gmail.com> | 2014-03-04 18:06:19 +0530 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2014-03-04 18:06:19 +0530 |
commit | 6e66de6091f15bcd0c3cbec0d6a6b8ba66d227d3 (patch) | |
tree | 29c6e16fea627298079c735b8572ae988baf80c7 /activerecord | |
parent | 9ada39f62edad92ef1e754f93b71e452397f53b8 (diff) | |
download | rails-6e66de6091f15bcd0c3cbec0d6a6b8ba66d227d3.tar.gz rails-6e66de6091f15bcd0c3cbec0d6a6b8ba66d227d3.tar.bz2 rails-6e66de6091f15bcd0c3cbec0d6a6b8ba66d227d3.zip |
Fix enum test unused variable warning.
Related - https://github.com/rails/rails/commit/5c55aafd38f45ac019573f98438ffdbdc8c580f9
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/adapters/postgresql/enum_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/adapters/postgresql/enum_test.rb b/activerecord/test/cases/adapters/postgresql/enum_test.rb index a9a2901436..79cb47a02e 100644 --- a/activerecord/test/cases/adapters/postgresql/enum_test.rb +++ b/activerecord/test/cases/adapters/postgresql/enum_test.rb @@ -51,7 +51,7 @@ class PostgresqlEnumTest < ActiveRecord::TestCase 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? |