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:
rgarcia
2018-02-06 01:03:49 +01:00
parent a359517288
commit 6f4d23fdef

View File

@@ -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