Remove unused parameter in imageable tests method

This commit is contained in:
Javi Martín
2021-07-27 19:32:36 +02:00
parent 04585d289c
commit 6f219beff0
5 changed files with 13 additions and 43 deletions

View File

@@ -46,10 +46,7 @@ describe "Admin budget phases" do
scenario "shows successful notice when updating the phase with a valid image" do
visit edit_admin_budget_budget_phase_path(budget, budget.current_phase)
imageable_attach_new_file(
"budget_phase_image",
Rails.root.join("spec/fixtures/files/clippy.jpg")
)
imageable_attach_new_file(Rails.root.join("spec/fixtures/files/clippy.jpg"))
click_on "Save changes"