Created
November 23, 2010 01:00
-
-
Save lardawge/711050 to your computer and use it in GitHub Desktop.
Formtastic 1.9.2 failures
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(in /Users/lar/Sites/formtastic) | |
.............................................................................................................................................................................................................FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................FF.FFFF..FF..............FF......................... | |
Failures: | |
1) check_boxes input for a has_many association should have input wrapper with class 'check_boxes' | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
2) check_boxes input for a has_many association should have input wrapper with id 'author_posts_input' | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
3) check_boxes input for a has_many association should have a nested_fieldset | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
4) check_boxes input for a has_many association should call find on the association class when no collection is provided | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
5) check_boxes input for a has_many association should generate a legend containing a label with text for the input | |
Failure/Error: concat(builder.input(:posts, :as => :check_boxes, :value_as_class => true)) | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
6) check_boxes input for a has_many association should not link the label within the legend to any input | |
Failure/Error: concat(builder.input(:posts, :as => :check_boxes, :value_as_class => true)) | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
7) check_boxes input for a has_many association should generate an ordered list with a list item for each choice | |
Failure/Error: concat(builder.input(:posts, :as => :check_boxes, :value_as_class => true)) | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
8) check_boxes input for a has_many association should have one option with a "checked" attribute | |
Failure/Error: concat(builder.input(:posts, :as => :check_boxes, :value_as_class => true)) | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
9) check_boxes input for a has_many association should not generate hidden inputs with default value blank | |
Failure/Error: concat(builder.input(:posts, :as => :check_boxes, :value_as_class => true)) | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
10) check_boxes input for a has_many association should not render hidden inputs inside the ol | |
Failure/Error: concat(builder.input(:posts, :as => :check_boxes, :value_as_class => true)) | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
11) check_boxes input for a has_many association should render one hidden input for each choice outside the ol | |
Failure/Error: concat(builder.input(:posts, :as => :check_boxes, :value_as_class => true)) | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
12) check_boxes input for a has_many association when there are errors on the object for this method should apply an errors class to the list item | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
13) check_boxes input for a has_many association when there are errors on the object for this method should not wrap the input with the Rails default error wrapping | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
14) check_boxes input for a has_many association when there are errors on the object for this method should render a paragraph for the errors | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
15) check_boxes input for a has_many association when there are errors on the object for this method should not display an error list | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
16) check_boxes input for a has_many association when there are no errors on the object for this method should not apply an errors class to the list item | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
17) check_boxes input for a has_many association when there are no errors on the object for this method should not render a paragraph for the errors | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
18) check_boxes input for a has_many association when there are no errors on the object for this method should not display an error list | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
19) check_boxes input for a has_many association when no object is provided should not apply an errors class to the list item | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
20) check_boxes input for a has_many association when no object is provided should not render a paragraph for the errors | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
21) check_boxes input for a has_many association when no object is provided should not display an error list | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
22) check_boxes input for a has_many association when the :collection option is provided should use the provided collection | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
23) check_boxes input for a has_many association when the :collection option is provided and the :collection is an array of strings should use the string as the label text and value for each input[@type="checkbox"] | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
24) check_boxes input for a has_many association when the :collection option is provided and the :collection is a hash of strings should use the key as the label text and the hash value as the value attribute for each input[@type="checkbox"] | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
25) check_boxes input for a has_many association when the :collection option is provided and the :collection is an array of arrays should use the first value as the label text and the last value as the value attribute for input[@type="checkbox"] | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
26) check_boxes input for a has_many association when the :collection option is provided and the :collection is an array of symbols should use the symbol as the label text and value for each input[@type="checkbox"] | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
27) check_boxes input for a has_many association when the :collection option is provided and the :collection is an OrderedHash of strings should use the key as the label text and the hash value as the value attribute for each input[@type="checkbox"] | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
28) check_boxes input for a has_many association when the :collection option is provided when the :label_method option is provided as a symbol should have options with text content from the specified method | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
29) check_boxes input for a has_many association when the :collection option is provided when the :label_method option is provided as a proc should have options with the proc applied to each | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
30) check_boxes input for a has_many association when the :collection option is provided when the :label_method option is not provided when the collection objects respond to to_label should render the options with to_label as the label | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
31) check_boxes input for a has_many association when the :collection option is provided when the :label_method option is not provided when the collection objects respond to display_name should render the options with display_name as the label | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
32) check_boxes input for a has_many association when the :collection option is provided when the :label_method option is not provided when the collection objects respond to full_name should render the options with full_name as the label | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
33) check_boxes input for a has_many association when the :collection option is provided when the :label_method option is not provided when the collection objects respond to name should render the options with name as the label | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
34) check_boxes input for a has_many association when the :collection option is provided when the :label_method option is not provided when the collection objects respond to title should render the options with title as the label | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
35) check_boxes input for a has_many association when the :collection option is provided when the :label_method option is not provided when the collection objects respond to username should render the options with username as the label | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
36) check_boxes input for a has_many association when the :collection option is provided when the :label_method option is not provided when the collection objects respond to login should render the options with login as the label | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
37) check_boxes input for a has_many association when the :collection option is provided when the :label_method option is not provided when the collection objects respond to value should render the options with value as the label | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
38) check_boxes input for a has_many association when the :collection option is provided when the :label_method option is not provided when the collection objects respond to to_s should render the options with to_s as the label | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
39) check_boxes input for a has_many association when the :collection option is provided when the :value_method option is provided as a symbol should have options with values from specified method | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
40) check_boxes input for a has_many association when the :collection option is provided when the :value_method option is provided as a proc should have options with the proc applied to each value | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
41) check_boxes input for a has_many association each choice should contain a label for the radio input with a nested input and label text | |
Failure/Error: concat(builder.input(:posts, :as => :check_boxes, :value_as_class => true)) | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
42) check_boxes input for a has_many association each choice should use values as li.class when value_as_class is true | |
Failure/Error: concat(builder.input(:posts, :as => :check_boxes, :value_as_class => true)) | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
43) check_boxes input for a has_many association each choice should have a checkbox input but no hidden field for each post | |
Failure/Error: concat(builder.input(:posts, :as => :check_boxes, :value_as_class => true)) | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
44) check_boxes input for a has_many association each choice should have a hidden field with an empty array value for the collection to allow clearing of all checkboxes | |
Failure/Error: concat(builder.input(:posts, :as => :check_boxes, :value_as_class => true)) | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
45) check_boxes input for a has_many association each choice the hidden field with an empty array value should be followed by the ol | |
Failure/Error: concat(builder.input(:posts, :as => :check_boxes, :value_as_class => true)) | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
46) check_boxes input for a has_many association each choice should not have a hidden field with an empty string value for the collection | |
Failure/Error: concat(builder.input(:posts, :as => :check_boxes, :value_as_class => true)) | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
47) check_boxes input for a has_many association each choice should have a checkbox and a hidden field for each post with :hidden_field => true | |
Failure/Error: concat(builder.input(:posts, :as => :check_boxes, :value_as_class => true)) | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
48) check_boxes input for a has_many association each choice should mark input as checked if it's the the existing choice | |
Failure/Error: concat(builder.input(:posts, :as => :check_boxes, :value_as_class => true)) | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
49) check_boxes input for a has_many association and no object is given should generate a fieldset with legend | |
Failure/Error: concat(builder.input(:posts, :as => :check_boxes, :value_as_class => true)) | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
50) check_boxes input for a has_many association and no object is given shold generate an li tag for each item in the collection | |
Failure/Error: concat(builder.input(:posts, :as => :check_boxes, :value_as_class => true)) | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
51) check_boxes input for a has_many association and no object is given should generate labels for each item | |
Failure/Error: concat(builder.input(:posts, :as => :check_boxes, :value_as_class => true)) | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
52) check_boxes input for a has_many association and no object is given should generate inputs for each item | |
Failure/Error: concat(builder.input(:posts, :as => :check_boxes, :value_as_class => true)) | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
53) check_boxes input for a has_many association and no object is given should html escape the label string | |
Failure/Error: concat(builder.input(:posts, :as => :check_boxes, :value_as_class => true)) | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
54) check_boxes input for a has_many association when :hidden_fields is set to false should have a checkbox input for each post | |
Failure/Error: concat(builder.input(:posts, :as => :check_boxes, :value_as_class => true)) | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
55) check_boxes input for a has_many association when :hidden_fields is set to false should mark input as checked if it's the the existing choice | |
Failure/Error: concat(builder.input(:posts, :as => :check_boxes, :value_as_class => true)) | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
56) check_boxes input for a has_many association when :hidden_fields is set to false should not generate empty hidden inputs | |
Failure/Error: concat(builder.input(:posts, :as => :check_boxes, :value_as_class => true)) | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
57) check_boxes input for a has_many association when :disabled is set no disabled items should not have any disabled item(s) | |
Failure/Error: concat(builder.input(:posts, :as => :check_boxes, :value_as_class => true)) | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
58) check_boxes input for a has_many association when :disabled is set single disabled item should have one item disabled; the specified one | |
Failure/Error: concat(builder.input(:posts, :as => :check_boxes, :value_as_class => true)) | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
59) check_boxes input for a has_many association when :disabled is set multiple disabled items should have multiple items disabled; the specified ones | |
Failure/Error: concat(builder.input(:posts, :as => :check_boxes, :value_as_class => true)) | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
60) check_boxes input for a has_many association with i18n of the legend label should do foo | |
Failure/Error: concat(builder.input(:posts, :as => :check_boxes, :value_as_class => true)) | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
61) check_boxes input for a has_many association when :label option is set should output the correct label title | |
Failure/Error: concat(builder.input(:posts, :as => :check_boxes, :value_as_class => true)) | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
62) check_boxes input for a has_many association when :label option is false should not output the legend | |
Failure/Error: concat(builder.input(:posts, :as => :check_boxes, :value_as_class => true)) | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
63) check_boxes input for a has_many association when :required option is true should output the correct label title | |
Failure/Error: concat(builder.input(:posts, :as => :check_boxes, :value_as_class => true)) | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:13:in `block (3 levels) in <top (required)>' | |
64) check_boxes input for a has_and_belongs_to_many association should render checkboxes | |
Failure/Error: concat(builder.input(:authors, :as => :check_boxes)) | |
Mock "user" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:337:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:336:in `block (3 levels) in <top (required)>' | |
65) check_boxes input for a has_and_belongs_to_many association should only select checkboxes that are present in the association | |
Failure/Error: concat(builder.input(:authors, :as => :check_boxes)) | |
Mock "user" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:337:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:336:in `block (3 levels) in <top (required)>' | |
66) check_boxes input for an association when a :collection is provided it should use the specified :value_method option to set the right input value | |
Failure/Error: concat(builder.input(:author, :as => :check_boxes, :value_method => :custom_value, :collection => [item, item, item])) | |
Mock "user" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:370:in `block (5 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:369:in `block (4 levels) in <top (required)>' | |
67) check_boxes input when namespace is provided should have a label for #context2_author_post_ids_19 | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:386:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:385:in `block (3 levels) in <top (required)>' | |
68) check_boxes input when namespace is provided should have an input with id 'context2_author_post_ids_19' | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:386:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:385:in `block (3 levels) in <top (required)>' | |
69) check_boxes input when namespace is provided should have input wrapper with id 'context2_author_posts_input' | |
Failure/Error: Unable to find matching line from backtrace | |
Mock "post" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:1189:in `flatten' | |
# ./lib/formtastic.rb:1189:in `find_selected_values_for_column' | |
# ./lib/formtastic.rb:1151:in `check_boxes_input' | |
# ./lib/formtastic.rb:1267:in `inline_input_for' | |
# ./lib/formtastic.rb:121:in `block in input' | |
# ./lib/formtastic.rb:120:in `map' | |
# ./lib/formtastic.rb:120:in `input' | |
# ./spec/inputs/check_boxes_input_spec.rb:386:in `block (4 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs/check_boxes_input_spec.rb:385:in `block (3 levels) in <top (required)>' | |
70) SemanticFormBuilder#inputs with a block when a :for option is provided should render nested inputs | |
Failure/Error: inputs = builder.inputs :for => [:author, @bob] do |bob_builder| | |
Mock "user" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:575:in `flatten' | |
# ./lib/formtastic.rb:575:in `inputs_for_nested_attributes' | |
# ./lib/formtastic.rb:280:in `inputs' | |
# ./spec/inputs_spec.rb:74:in `block (5 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs_spec.rb:73:in `block (4 levels) in <top (required)>' | |
71) SemanticFormBuilder#inputs with a block when a :for option is provided should concat rendered nested inputs to the template under rails3 | |
Failure/Error: builder.inputs :for => [:author, @bob] do |bob_builder| | |
Mock "user" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:575:in `flatten' | |
# ./lib/formtastic.rb:575:in `inputs_for_nested_attributes' | |
# ./lib/formtastic.rb:280:in `inputs' | |
# ./spec/inputs_spec.rb:91:in `block (5 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs_spec.rb:90:in `block (4 levels) in <top (required)>' | |
72) SemanticFormBuilder#inputs with a block when a :for option is provided should pass options down to semantic_fields_for | |
Failure/Error: inputs = builder.inputs :for => [:author, @bob], :for_options => { :index => 10 } do |bob_builder| | |
Mock "user" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:575:in `flatten' | |
# ./lib/formtastic.rb:575:in `inputs_for_nested_attributes' | |
# ./lib/formtastic.rb:280:in `inputs' | |
# ./spec/inputs_spec.rb:181:in `block (5 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs_spec.rb:180:in `block (4 levels) in <top (required)>' | |
73) SemanticFormBuilder#inputs with a block when a :for option is provided should not add builder as a fieldset attribute tag | |
Failure/Error: inputs = builder.inputs :for => [:author, @bob], :for_options => { :index => 10 } do |bob_builder| | |
Mock "user" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:575:in `flatten' | |
# ./lib/formtastic.rb:575:in `inputs_for_nested_attributes' | |
# ./lib/formtastic.rb:280:in `inputs' | |
# ./spec/inputs_spec.rb:193:in `block (5 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs_spec.rb:192:in `block (4 levels) in <top (required)>' | |
74) SemanticFormBuilder#inputs with a block when a :for option is provided should send parent_builder as an option to allow child index interpolation | |
Failure/Error: inputs = builder.inputs :for => [:author, @bob], :name => 'Author #%i' do |bob_builder| | |
Mock "user" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:575:in `flatten' | |
# ./lib/formtastic.rb:575:in `inputs_for_nested_attributes' | |
# ./lib/formtastic.rb:280:in `inputs' | |
# ./spec/inputs_spec.rb:206:in `block (5 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs_spec.rb:204:in `block (4 levels) in <top (required)>' | |
75) SemanticFormBuilder#inputs with a block when a :for option is provided should also provide child index interpolation when nested child index is a hash | |
Failure/Error: inputs = builder.inputs :for => [:author, @bob], :name => 'Author #%i' do |bob_builder| | |
Mock "user" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:575:in `flatten' | |
# ./lib/formtastic.rb:575:in `inputs_for_nested_attributes' | |
# ./lib/formtastic.rb:280:in `inputs' | |
# ./spec/inputs_spec.rb:219:in `block (5 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs_spec.rb:217:in `block (4 levels) in <top (required)>' | |
76) SemanticFormBuilder#inputs with a block when a :for option is provided as an array containing the a symbole for the association name and the associated object should nest the inputs with an _attributes suffix on the association name | |
Failure/Error: inputs = post.inputs :for => [:author, @new_post.author] do |author| | |
Mock "user" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:575:in `flatten' | |
# ./lib/formtastic.rb:575:in `inputs_for_nested_attributes' | |
# ./lib/formtastic.rb:280:in `inputs' | |
# ./spec/inputs_spec.rb:140:in `block (6 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs_spec.rb:139:in `block (5 levels) in <top (required)>' | |
77) SemanticFormBuilder#inputs with a block when a :for option is provided as an associated object should not nest the inputs with an _attributes suffix | |
Failure/Error: inputs = post.inputs :for => @new_post.author do |author| | |
Mock "user" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:575:in `flatten' | |
# ./lib/formtastic.rb:575:in `inputs_for_nested_attributes' | |
# ./lib/formtastic.rb:280:in `inputs' | |
# ./spec/inputs_spec.rb:155:in `block (6 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs_spec.rb:154:in `block (5 levels) in <top (required)>' | |
78) SemanticFormBuilder#inputs without a block when a :for option is provided and an object is given should render nested inputs | |
Failure/Error: concat(builder.inputs(:login, :for => @bob)) | |
Mock "user" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:575:in `flatten' | |
# ./lib/formtastic.rb:575:in `inputs_for_nested_attributes' | |
# ./lib/formtastic.rb:280:in `inputs' | |
# ./spec/inputs_spec.rb:427:in `block (6 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs_spec.rb:426:in `block (5 levels) in <top (required)>' | |
79) SemanticFormBuilder#inputs without a block when a :for option is provided and no object is given should render nested inputs | |
Failure/Error: concat(builder.inputs(:login, :for => @bob)) | |
Mock "user" received unexpected message :to_ary with (no args) | |
# ./lib/formtastic.rb:575:in `flatten' | |
# ./lib/formtastic.rb:575:in `inputs_for_nested_attributes' | |
# ./lib/formtastic.rb:280:in `inputs' | |
# ./spec/inputs_spec.rb:439:in `block (6 levels) in <top (required)>' | |
# ./lib/formtastic.rb:1927:in `block in semantic_form_for' | |
# ./lib/formtastic.rb:1892:in `with_custom_field_error_proc' | |
# ./lib/formtastic.rb:1926:in `semantic_form_for' | |
# ./spec/inputs_spec.rb:438:in `block (5 levels) in <top (required)>' | |
Finished in 48.22 seconds | |
878 examples, 79 failures |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment