mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove unused variable.
This commit is contained in:
parent
f64c50a092
commit
16648979f7
1 changed files with 1 additions and 1 deletions
|
@ -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!
|
||||
|
|
Loading…
Reference in a new issue