Unify notice responders for budget investments create action

This commit is contained in:
taitus
2024-11-20 11:06:28 +01:00
parent 1cf85560dd
commit 9d7fa9d0f8
5 changed files with 13 additions and 13 deletions

View File

@@ -14,7 +14,7 @@ describe "Budget Investments" do
{ budget_id: "budget_id" },
"documentable_fill_new_valid_budget_investment",
"Create Investment",
"Investment created successfully.",
"Budget Investment created successfully.",
management: true
it_behaves_like "nested imageable",
@@ -23,7 +23,7 @@ describe "Budget Investments" do
{ budget_id: "budget_id" },
"imageable_fill_new_valid_budget_investment",
"Create Investment",
"Investment created successfully.",
"Budget Investment created successfully.",
management: true
it_behaves_like "mappable",
@@ -73,7 +73,7 @@ describe "Budget Investments" do
click_button "Create Investment"
expect(page).to have_content "Investment created successfully."
expect(page).to have_content "Budget Investment created successfully."
expect(page).to have_content "Health"
expect(page).to have_content "Build a park in my neighborhood"