tests
This commit is contained in:
parent
5488067801
commit
2612b0a2d1
7 changed files with 43 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue