Add back the check for the multiple attribute
This commit is contained in:
parent
96a5b64d3e
commit
1411718c00
|
@ -131,6 +131,7 @@ class AssociationTest < ActionView::TestCase
|
|||
test 'builder creates a select with multiple options for collection associations' do
|
||||
with_association_for @user, :tags
|
||||
assert_select 'form select.select#user_tag_ids'
|
||||
assert_select 'form select[multiple=multiple]'
|
||||
assert_select 'form select option[value=1]', 'Tag 1'
|
||||
assert_select 'form select option[value=2]', 'Tag 2'
|
||||
assert_select 'form select option[value=3]', 'Tag 3'
|
||||
|
|
Loading…
Reference in New Issue