Project

General

Profile

Actions

Patch #30163

closed

Remove unnecessary tests in test/unit/initializers/patches_test.rb

Added by Go MAEDA about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

There are tests for ActiveSupport::HashWithIndifferentAccess in test/unit/initializers/patches_test.rb. Now we can remove those tests safely.

The tests were added in r13115 to test a patch that was added as a workaround for regression of Ruby 2.1. However, the patch was removed in r13892 so the tests lost its meaning. The tests should have been removed along with the patch but it is still there.

This patch deletes the tests which became unnecessary since r13892.


Files

remove-unnecessary-tests.diff (2.44 KB) remove-unnecessary-tests.diff Go MAEDA, 2018-12-09 17:37
Actions

Also available in: Atom PDF