diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 713a2c74..78683daf 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,11 +1,6 @@ # Remove these configuration records # one by one as the offenses are removed from the code base. -# Offense count: 1 -Lint/UselessAssignment: - Exclude: - - 'test/functional/controller_test.rb' - # Offense count: 1 Lint/Void: Exclude: diff --git a/test/functional/controller_test.rb b/test/functional/controller_test.rb index 3157c796..d24e3ea9 100644 --- a/test/functional/controller_test.rb +++ b/test/functional/controller_test.rb @@ -35,7 +35,6 @@ class ControllerTest < ActionController::TestCase w = assigns(:widget) assert_equal 0, w.versions.length delete :destroy, params_wrapper({ id: w.id }) - widget = assigns(:widget) assert_equal 0, PaperTrail::Version.with_item_keys('Widget', w.id).size end