From d877a8fcf69a548bd0c30889b7d2bb356f81d847 Mon Sep 17 00:00:00 2001 From: Hemal Varambhia Date: Sun, 8 Dec 2024 22:48:44 +0000 Subject: [PATCH] test: clarified the content of a variable. --- test/lib/rubycritic/learning/churn_gem_learning_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/rubycritic/learning/churn_gem_learning_test.rb b/test/lib/rubycritic/learning/churn_gem_learning_test.rb index 0dda50ed..3b4c441f 100644 --- a/test/lib/rubycritic/learning/churn_gem_learning_test.rb +++ b/test/lib/rubycritic/learning/churn_gem_learning_test.rb @@ -14,7 +14,7 @@ Churn::GitAnalyzer.stubs(:supported?).returns(true) churn_calculator = Churn::ChurnCalculator.new(config) churn_calculator.stubs(:parse_log_for_changes).returns([['file.rb', 4], ['less.rb', 1]]) - churn_calculator.stubs(:parse_log_for_revision_changes).returns(['revision']) + churn_calculator.stubs(:parse_log_for_revision_changes).returns(['revision-git-sha']) report = churn_calculator.report(false)