Skip to content

Commit

Permalink
fix: forgot some set up.
Browse files Browse the repository at this point in the history
  • Loading branch information
hemalvarambhia committed Dec 8, 2024
1 parent c1e667b commit 876b55d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/lib/rubycritic/learning/churn_gem_learning_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
start_date: '6 years ago', # Optional: Limit analysis to a specific time range
minimum_churn_count: 1 # Minimum number of changes to consider a file
}

Churn::GitAnalyzer.stubs(:supported?).returns(true)
churn_calculator = ::Churn::ChurnCalculator.new(config)
report = churn_calculator.report(false)
# rubycritic gemspec was changed 148 times.
Expand Down

0 comments on commit 876b55d

Please sign in to comment.