From 46e373a3cea1514e7107af899d0c8681ec5ccb7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendonc=CC=A7a=20Franc=CC=A7a?= Date: Sat, 3 Dec 2011 00:39:47 -0200 Subject: [PATCH] Fix test to fit the described case --- test/inputs/collection_input_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/inputs/collection_input_test.rb b/test/inputs/collection_input_test.rb index 285a49d5..170b275f 100644 --- a/test/inputs/collection_input_test.rb +++ b/test/inputs/collection_input_test.rb @@ -272,7 +272,7 @@ class CollectionInputTest < ActionView::TestCase end test 'collection input with select type with multiple attribute should generate required html attribute without blank option' do - with_input_for @user, :name, :select, :include_blank => true, :input_html => {:multiple => true}, :collection => ['Jose' , 'Carlos'] + with_input_for @user, :name, :select, :include_blank => false, :input_html => {:multiple => true}, :collection => ['Jose' , 'Carlos'] assert_select 'select.required' assert_select 'select[required]' end