Skip to content

Commit

Permalink
mark the String for :collection as html_safe in this test
Browse files Browse the repository at this point in the history
  • Loading branch information
justinfrench committed Mar 3, 2012
1 parent 8951c26 commit c919c2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/inputs/select_input_spec.rb
Expand Up @@ -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)
Expand Down

0 comments on commit c919c2f

Please sign in to comment.