Permalink
Browse files

mark the String for :collection as html_safe in this test

  • Loading branch information...
1 parent 8951c26 commit c919c2f59b356d44d490dd2ac6c0615b923ea0a7 @justinfrench committed Mar 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/inputs/select_input_spec.rb
@@ -63,7 +63,7 @@
describe 'using a string' do
before do
- @string ="<option value='0'>0</option><option value='1'>1</option>"
+ @string ="<option value='0'>0</option><option value='1'>1</option>".html_safe
concat(semantic_form_for(@new_post) do |builder|
concat(builder.input(:title, :as => :select, :collection => @string))
end)

0 comments on commit c919c2f

Please sign in to comment.