Improve hint information related to duration phases

Specify that this field is for information purposes only and
does not automatically update phase status.

We also improve enable help text.
This commit is contained in:
taitus
2022-04-12 11:13:28 +02:00
parent 42104f2a58
commit dbc51bcdcd
5 changed files with 13 additions and 5 deletions

View File

@@ -7,6 +7,10 @@ describe "Admin budget phases" do
scenario "Update phase" do
visit edit_admin_budget_budget_phase_path(budget, budget.current_phase)
expect(page).to have_content "These fields are used for information purposes only and do not trigger "\
"an automatic update of the active phase. In order to update it, edit "\
"the budget and select the active phase."
fill_in "start_date", with: Date.current + 1.day
fill_in "end_date", with: Date.current + 12.days
fill_in_ckeditor "Description", with: "New description of the phase."