提交 16648979 编写于 作者: T Tim Fenney

Remove unused variable.

上级 f64c50a0
......@@ -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.
先完成此消息的编辑!
想要评论请 注册