Skip to content

Commit

Permalink
fix for sure
Browse files Browse the repository at this point in the history
  • Loading branch information
GBH committed Dec 1, 2019
1 parent 753af2d commit 2038fc5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/comfy_bootstrap_form/view_helpers_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ class ViewHelpersTest < ActionView::TestCase

# Rails 6 doesn't use utf8 input anymore
def utf8_input
return if Rails.version > "5.2"

<<~HTML
<input name="utf8" type="hidden" value="&#x2713;" />
HTML
if Rails.version < "6.0.0"
<<~HTML
<input name="utf8" type="hidden" value="&#x2713;" />
HTML
end
end

def test_bootstrap_form_with
Expand Down

0 comments on commit 2038fc5

Please sign in to comment.