Skip to content

Commit 3ca195c

Browse files
author
Jason Stumbaugh
committed
Ensure the multiple attribute is set on the filter
1 parent f9e2549 commit 3ca195c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/features/filter_input_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,10 +205,10 @@
205205
end
206206
end
207207

208-
it 'renders select input with searchable-select-input css class' do
208+
it 'renders select input with searchable-select-input css class and the multiple attribute' do
209209
get '/admin/posts'
210210

211-
expect(response.body).to have_selector('select.searchable-select-input')
211+
expect(response.body).to have_selector("select.searchable-select-input[multiple='multiple']")
212212
end
213213

214214
it 'does not render options statically' do

0 commit comments

Comments
 (0)