diff --git a/spec/features/admin/budgets_spec.rb b/spec/features/admin/budgets_spec.rb index e032daf29..b7efd1d7f 100644 --- a/spec/features/admin/budgets_spec.rb +++ b/spec/features/admin/budgets_spec.rb @@ -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