Remove circular argument reference warning
We were seeing this warning when running specs `spec/features/admin/budgets_spec.rb:322: warning: circular argument reference - phase_kind` This commit should fix the warning
This commit is contained in:
@@ -319,6 +319,6 @@ feature 'Admin budgets' do
|
||||
end
|
||||
end
|
||||
|
||||
def translated_phase_name(phase_kind: phase_kind)
|
||||
def translated_phase_name(phase_kind: kind)
|
||||
I18n.t("budgets.phase.#{phase_kind}")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user