Browse files

Merge pull request #13821 from vipulnsward/remove-assignment-in-test

Remove unused assignment to fix warnings in enum test.
  • Loading branch information...
2 parents f1a0b15 + 9b254df commit e61b841a4f5bb9d4d1cd6993ac9cebd53ca1ba32 @senny senny committed Jan 23, 2014
Showing with 0 additions and 1 deletion.
  1. +0 −1 activerecord/test/cases/enum_test.rb
View
1 activerecord/test/cases/enum_test.rb
@@ -98,7 +98,6 @@ class EnumTest < ActiveRecord::TestCase
end
test "persist changes that are dirty" do
- old_status = @book.status
@book.status = :published
assert @book.attribute_changed?(:status)
@book.status = :written

0 comments on commit e61b841

Please sign in to comment.