fix bug with directory files upload

This commit is contained in:
Bilal
2020-07-28 03:11:44 +02:00
parent 9c3fac4ab9
commit d73c86b872
3 changed files with 17 additions and 1 deletions

View File

@@ -51,6 +51,13 @@ RSpec.feature "User manages project custom folders", type: :feature do
expect(page).to have_content("UPLOAD NEW FILES")
expect do
click_button "Upload Files"
end.not_to raise_exception
expect(page).to have_content("UPLOAD NEW FILES")
expect(page).not_to have_content("The folder has been updated")
drop_file Rails.root.join(file_fixture("person_photo.png")), type: :dropzone
click_button "Upload Files"