Skip to content

Commit

Permalink
Merge pull request #16254 from zuhao/refactor_activerecord_attribute_…
Browse files Browse the repository at this point in the history
…decorators_test

Remove redundant reset that already happened in teardown.
  • Loading branch information
senny committed Jul 22, 2014
2 parents 4c81c8c + 4dfe213 commit 16fe198
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion activerecord/test/cases/attribute_decorators_test.rb
Expand Up @@ -45,7 +45,6 @@ def type_cast_from_user(value)


test "decoration does not eagerly load existing columns" do test "decoration does not eagerly load existing columns" do
assert_no_queries do assert_no_queries do
Model.reset_column_information
Model.decorate_attribute_type(:a_string, :test) { |t| StringDecorator.new(t) } Model.decorate_attribute_type(:a_string, :test) { |t| StringDecorator.new(t) }
end end
end end
Expand Down

0 comments on commit 16fe198

Please sign in to comment.