diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-07-22 11:33:53 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-07-22 11:33:53 +0200 |
commit | 16fe19831548f108c113094d106663497fc190d5 (patch) | |
tree | d094d5836efa877d8070d4e57f5355da52a0ae11 /activerecord/test/cases | |
parent | 4c81c8ce533896be28bdc0b055ff30bb9dee1316 (diff) | |
parent | 4dfe213d0fcaf5e665aa624686c13e08849059db (diff) | |
download | rails-16fe19831548f108c113094d106663497fc190d5.tar.gz rails-16fe19831548f108c113094d106663497fc190d5.tar.bz2 rails-16fe19831548f108c113094d106663497fc190d5.zip |
Merge pull request #16254 from zuhao/refactor_activerecord_attribute_decorators_test
Remove redundant reset that already happened in teardown.
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/attribute_decorators_test.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/test/cases/attribute_decorators_test.rb b/activerecord/test/cases/attribute_decorators_test.rb index b352d1a6c2..cbc2c4e5d7 100644 --- a/activerecord/test/cases/attribute_decorators_test.rb +++ b/activerecord/test/cases/attribute_decorators_test.rb @@ -45,7 +45,6 @@ module ActiveRecord test "decoration does not eagerly load existing columns" do assert_no_queries do - Model.reset_column_information Model.decorate_attribute_type(:a_string, :test) { |t| StringDecorator.new(t) } end end |