This commit is contained in:
Kara Diaby 2024-02-21 02:01:24 +00:00
parent 5488067801
commit 2612b0a2d1
7 changed files with 43 additions and 15 deletions

View file

@ -66,8 +66,8 @@ RSpec.describe Attachment::EditComponent, type: :component do
)
end
it 'does not render an empty file' do # (is is rendered by MultipleComponent)
expect(subject).not_to have_selector('input[type=file]')
it 'does render an empty file' do # (is is rendered by MultipleComponent)
expect(subject).to have_selector('input[type=file]')
end
it 'renders max size for first index' do