提交 530cab32 编写于 作者: G Godfrey Chan

Merge pull request #13898 from timfenney/my_branch

Remove unused variable.
......@@ -205,7 +205,7 @@ class EnumTest < ActiveRecord::TestCase
test "overriding enum method should not raise" do
assert_nothing_raised do
klass = Class.new(ActiveRecord::Base) do
Class.new(ActiveRecord::Base) do
self.table_name = "books"
def published!
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册