Permalink
Browse files

removed unnecessary +1 from assert_difference because default differe…

…nce is 1
  • Loading branch information...
1 parent 9a5b335 commit ca0718c164f667d12688294ae817997e53e65314 @Karunakar Karunakar committed Jan 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/locking_test.rb
@@ -231,7 +231,7 @@ def test_update_without_attributes_does_not_only_update_lock_version
def test_polymorphic_destroy_with_dependencies_and_lock_version
car = Car.create!
- assert_difference 'car.wheels.count', +1 do
+ assert_difference 'car.wheels.count' do
car.wheels << Wheel.create!
end
assert_difference 'car.wheels.count', -1 do

0 comments on commit ca0718c

Please sign in to comment.