Run bundle exec rake test:ruby
Run options: --seed 28814
# Running:
......F
Failure:
ClientSideValidations::LegacyFormForActionViewHelpersTest#test_check_box [test/action_view/cases/test_legacy_form_for_helpers.rb:71]:
Expected: <form action="/posts" accept-charset="UTF-8" method="post" id="new_post" class="new_post"><input name="post[cost]" type="hidden" value="0" /><input type="checkbox" value="1" name="post[cost]" id="post_cost" /></form>
Actual: <form class="new_post" id="new_post" action="/posts" accept-charset="UTF-8" method="post"><input name="post[cost]" type="hidden" value="0" autocomplete="off" /><input type="checkbox" value="1" name="post[cost]" id="post_cost" /></form>
bin/rails test action_view/cases/test_legacy_form_for_helpers.rb:61
.........F
Failure:
ClientSideValidations::LegacyFormForActionViewHelpersTest#test_checkbox [test/action_view/cases/test_legacy_form_for_helpers.rb:85]:
Expected: <form action="/posts" accept-charset="UTF-8" method="post" id="new_post" class="new_post"><input name="post[cost]" type="hidden" value="0" /><input type="checkbox" value="1" name="post[cost]" id="post_cost" /></form>
Actual: <form class="new_post" id="new_post" action="/posts" accept-charset="UTF-8" method="post"><input name="post[cost]" type="hidden" value="0" autocomplete="off" /><input type="checkbox" value="1" name="post[cost]" id="post_cost" /></form>
bin/rails test action_view/cases/test_legacy_form_for_helpers.rb:75
................F
Failure:
ClientSideValidations::LegacyFormForActionViewHelpersTest#test_select_multiple [test/action_view/cases/test_legacy_form_for_helpers.rb:132]:
Expected: <form action="/posts" accept-charset="UTF-8" method="post" id="new_post" class="new_post"><input name="post[cost][]" type="hidden" value="" /><select multiple="multiple" name="post[cost][]" id="post_cost"></select></form>
Actual: <form class="new_post" id="new_post" action="/posts" accept-charset="UTF-8" method="post"><input name="post[cost][]" type="hidden" value="" autocomplete="off" /><select multiple="multiple" name="post[cost][]" id="post_cost"></select></form>
bin/rails test action_view/cases/test_legacy_form_for_helpers.rb:123
...............................................................................................................F
Failure:
ClientSideValidations::FormForActionViewHelpersTest#test_check_box [test/action_view/cases/test_form_for_helpers.rb:112]:
Expected: <form action="/posts" accept-charset="UTF-8" method="post" data-client-side-validations="{"html_settings":{"type":"ActionView::Helpers::FormBuilder","input_tag":"\u003cdiv class=\"field_with_errors\"\u003e\u003cspan id=\"input_tag\"\u003e\u003c/span\u003e\u003c/div\u003e","label_tag":"\u003cdiv class=\"field_with_errors\"\u003e\u003clabel id=\"label_tag\"\u003e\u003c/label\u003e\u003c/div\u003e"},"number_format":{"separator":".","delimiter":","},"validators":{"post[cost]":{"presence":[{"message":"can't be blank"}]}}}" novalidate="novalidate" id="new_post" class="new_post"><input type="hidden" value="0" name="post[cost]" /><input type="checkbox" value="1" name="post[cost]" id="post_cost" /></form>
Actual: <form class="new_post" id="new_post" action="/posts" accept-charset="UTF-8" novalidate="novalidate" data-client-side-validations="{"html_settings":{"type":"ActionView::Helpers::FormBuilder","input_tag":"\u003cdiv class=\"field_with_errors\"\u003e\u003cspan id=\"input_tag\"\u003e\u003c/span\u003e\u003c/div\u003e","label_tag":"\u003cdiv class=\"field_with_errors\"\u003e\u003clabel id=\"label_tag\"\u003e\u003c/label\u003e\u003c/div\u003e"},"number_format":{"separator":".","delimiter":","},"validators":{"post[cost]":{"presence":[{"message":"can't be blank"}]}}}" method="post"><input name="post[cost]" type="hidden" value="0" autocomplete="off" /><input type="checkbox" value="1" name="post[cost]" id="post_cost" /></form>
bin/rails test action_view/cases/test_form_for_helpers.rb:101
......F
Failure:
ClientSideValidations::FormForActionViewHelpersTest#test_checkbox [test/action_view/cases/test_form_for_helpers.rb:127]:
................................................................F
Failure:
ClientSideValidations::FormWithActionViewHelpersTest#test_form_with_select_multiple [test/action_view/cases/test_form_with_helpers.rb:403]:
Expected: <form action="/posts" accept-charset="UTF-8" method="post" data-client-side-validations="{"html_settings":{"type":"ActionView::Helpers::FormBuilder","input_tag":"\u003cdiv class=\"field_with_errors\"\u003e\u003cspan id=\"input_tag\"\u003e\u003c/span\u003e\u003c/div\u003e","label_tag":"\u003cdiv class=\"field_with_errors\"\u003e\u003clabel id=\"label_tag\"\u003e\u003c/label\u003e\u003c/div\u003e"},"number_format":{"separator":".","delimiter":","},"validators":{"post[cost][]":{"presence":[{"message":"can't be blank"}]}}}" novalidate="novalidate"><input name="post[cost][]" type="hidden" value="" /><select multiple="multiple" name="post[cost][]" id="post_cost"></select></form>
Actual: <form action="/posts" accept-charset="UTF-8" novalidate="novalidate" data-client-side-validations="{"html_settings":{"type":"ActionView::Helpers::FormBuilder","input_tag":"\u003cdiv class=\"field_with_errors\"\u003e\u003cspan id=\"input_tag\"\u003e\u003c/span\u003e\u003c/div\u003e","label_tag":"\u003cdiv class=\"field_with_errors\"\u003e\u003clabel id=\"label_tag\"\u003e\u003c/label\u003e\u003c/div\u003e"},"number_format":{"separator":".","delimiter":","},"validators":{"post[cost][]":{"presence":[{"message":"can't be blank"}]}}}" method="post"><input name="post[cost][]" type="hidden" value="" autocomplete="off" /><select multiple="multiple" name="post[cost][]" id="post_cost"></select></form>
bin/rails test action_view/cases/test_form_with_helpers.rb:393
......F
Failure:
ClientSideValidations::FormWithActionViewHelpersTest#test_form_with_check_box_ensure_no_validate_attribute [test/action_view/cases/test_form_with_helpers.rb:175]:
Expected: <form action="/posts" accept-charset="UTF-8" method="post" data-client-side-validations="{"html_settings":{"type":"ActionView::Helpers::FormBuilder","input_tag":"\u003cdiv class=\"field_with_errors\"\u003e\u003cspan id=\"input_tag\"\u003e\u003c/span\u003e\u003c/div\u003e","label_tag":"\u003cdiv class=\"field_with_errors\"\u003e\u003clabel id=\"label_tag\"\u003e\u003c/label\u003e\u003c/div\u003e"},"number_format":{"separator":".","delimiter":","},"validators":{"post[cost]":{"presence":[{"message":"can't be blank"}]}}}" novalidate="novalidate"><input type="hidden" value="0" name="post[cost]" /><input type="checkbox" value="1" name="post[cost]" id="post_cost" /></form>
Actual: <form action="/posts" accept-charset="UTF-8" novalidate="novalidate" data-client-side-validations="{"html_settings":{"type":"ActionView::Helpers::FormBuilder","input_tag":"\u003cdiv class=\"field_with_errors\"\u003e\u003cspan id=\"input_tag\"\u003e\u003c/span\u003e\u003c/div\u003e","label_tag":"\u003cdiv class=\"field_with_errors\"\u003e\u003clabel id=\"label_tag\"\u003e\u003c/label\u003e\u003c/div\u003e"},"number_format":{"separator":".","delimiter":","},"validators":{"post[cost]":{"presence":[{"message":"can't be blank"}]}}}" method="post"><input name="post[cost]" type="hidden" value="0" autocomplete="off" /><input type="checkbox" value="1" name="post[cost]" id="post_cost" /></form>
bin/rails test action_view/cases/test_form_with_helpers.rb:164
..............F
Failure:
ClientSideValidations::FormWithActionViewHelpersTest#test_form_with_check_box [test/action_view/cases/test_form_with_helpers.rb:145]:
Expected: <form action="/posts" accept-charset="UTF-8" method="post" data-client-side-validations="{"html_settings":{"type":"ActionView::Helpers::FormBuilder","input_tag":"\u003cdiv class=\"field_with_errors\"\u003e\u003cspan id=\"input_tag\"\u003e\u003c/span\u003e\u003c/div\u003e","label_tag":"\u003cdiv class=\"field_with_errors\"\u003e\u003clabel id=\"label_tag\"\u003e\u003c/label\u003e\u003c/div\u003e"},"number_format":{"separator":".","delimiter":","},"validators":{"post[cost]":{"presence":[{"message":"can't be blank"}]}}}" novalidate="novalidate"><input type="hidden" value="0" name="post[cost]" /><input type="checkbox" value="1" name="post[cost]" id="post_cost" /></form>
Actual: <form action="/posts" accept-charset="UTF-8" novalidate="novalidate" data-client-side-validations="{"html_settings":{"type":"ActionView::Helpers::FormBuilder","input_tag":"\u003cdiv class=\"field_with_errors\"\u003e\u003cspan id=\"input_tag\"\u003e\u003c/span\u003e\u003c/div\u003e","label_tag":"\u003cdiv class=\"field_with_errors\"\u003e\u003clabel id=\"label_tag\"\u003e\u003c/label\u003e\u003c/div\u003e"},"number_format":{"separator":".","delimiter":","},"validators":{"post[cost]":{"presence":[{"message":"can't be blank"}]}}}" method="post"><input name="post[cost]" type="hidden" value="0" autocomplete="off" /><input type="checkbox" value="1" name="post[cost]" id="post_cost" /></form>
bin/rails test action_view/cases/test_form_with_helpers.rb:134
.....F
Failure:
ClientSideValidations::FormWithActionViewHelpersTest#test_form_with_checkbox [test/action_view/cases/test_form_with_helpers.rb:160]:
Expected: <form action="/posts" accept-charset="UTF-8" method="post" data-client-side-validations="{"html_settings":{"type":"ActionView::Helpers::FormBuilder","input_tag":"\u003cdiv class=\"field_with_errors\"\u003e\u003cspan id=\"input_tag\"\u003e\u003c/span\u003e\u003c/div\u003e","label_tag":"\u003cdiv class=\"field_with_errors\"\u003e\u003clabel id=\"label_tag\"\u003e\u003c/label\u003e\u003c/div\u003e"},"number_format":{"separator":".","delimiter":","},"validators":{"post[cost]":{"presence":[{"message":"can't be blank"}]}}}" novalidate="novalidate"><input type="hidden" value="0" name="post[cost]" /><input type="checkbox" value="1" name="post[cost]" id="post_cost" /></form>
Actual: <form action="/posts" accept-charset="UTF-8" novalidate="novalidate" data-client-side-validations="{"html_settings":{"type":"ActionView::Helpers::FormBuilder","input_tag":"\u003cdiv class=\"field_with_errors\"\u003e\u003cspan id=\"input_tag\"\u003e\u003c/span\u003e\u003c/div\u003e","label_tag":"\u003cdiv class=\"field_with_errors\"\u003e\u003clabel id=\"label_tag\"\u003e\u003c/label\u003e\u003c/div\u003e"},"number_format":{"separator":".","delimiter":","},"validators":{"post[cost]":{"presence":[{"message":"can't be blank"}]}}}" method="post"><input name="post[cost]" type="hidden" value="0" autocomplete="off" /><input type="checkbox" value="1" name="post[cost]" id="post_cost" /></form>
bin/rails test action_view/cases/test_form_with_helpers.rb:149
.
Finished in 0.531160s, 585.5109 runs/s, 600.5723 assertions/s.
311 runs, 319 assertions, 14 failures, 0 errors, 0 skips