Replace link with button in author_actions

- modified corresponding spec
This commit is contained in:
cyrillefr
2025-04-04 11:53:20 +02:00
parent c6f0a3761b
commit 30979b2e96
2 changed files with 6 additions and 6 deletions

View File

@@ -1715,7 +1715,7 @@ describe "Budget Investments" do
within("aside") do
expect(page).not_to have_content "Author"
expect(page).not_to have_link "Edit"
expect(page).not_to have_link "Remove image"
expect(page).not_to have_button "Remove image"
end
end
@@ -1728,7 +1728,7 @@ describe "Budget Investments" do
within("aside") do
expect(page).to have_content "AUTHOR"
expect(page).to have_link "Edit"
expect(page).not_to have_link "Remove image"
expect(page).not_to have_button "Remove image"
end
end
@@ -1742,7 +1742,7 @@ describe "Budget Investments" do
within("aside") do
expect(page).to have_content "AUTHOR"
expect(page).not_to have_link "Edit"
expect(page).to have_link "Remove image"
expect(page).to have_button "Remove image"
end
end
end