- 'lib/redmine/scm/adapters/abstract_adapter.rb'
- 'test/functional/issues_controller_test.rb'
- 'test/unit/member_test.rb'
- - 'test/unit/repository_git_test.rb'
# Cop supports --auto-correct.
Style/VariableInterpolation:
assert_equal Time.gm(2007, 12, 14, 9, 22, 52), commit.committed_on
assert_equal "2007-12-14".to_date, commit.commit_date
assert_equal 3, commit.filechanges.count
- change = commit.filechanges.sort_by(&:path).first
+ change = commit.filechanges.min_by(&:path)
assert_equal "README", change.path
assert_nil change.from_path
assert_equal "A", change.action