Skip to content

Instantly share code, notes, and snippets.

@noahd1
Created September 21, 2010 17:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save noahd1/590050 to your computer and use it in GitHub Desktop.
Save noahd1/590050 to your computer and use it in GitHub Desktop.
(in /Users/noah/vendor/rails/actionpack)
/usr/local/ruby-enterprise-1.8.7-2009.10/bin/ruby -I"lib:test" "/usr/local/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/controller/action_pack_assertions_test.rb" "test/controller/addresses_render_test.rb" "test/controller/assert_select_test.rb" "test/controller/base_test.rb" "test/controller/benchmark_test.rb" "test/controller/caching_test.rb" "test/controller/capture_test.rb" "test/controller/content_type_test.rb" "test/controller/cookie_test.rb" "test/controller/deprecation/deprecated_base_methods_test.rb" "test/controller/dispatcher_test.rb" "test/controller/dom_assertions_test.rb" "test/controller/failsafe_test.rb" "test/controller/filter_params_test.rb" "test/controller/filters_test.rb" "test/controller/flash_test.rb" "test/controller/header_test.rb" "test/controller/helper_test.rb" "test/controller/html-scanner/cdata_node_test.rb" "test/controller/html-scanner/document_test.rb" "test/controller/html-scanner/node_test.rb" "test/controller/html-scanner/sanitizer_test.rb" "test/controller/html-scanner/tag_node_test.rb" "test/controller/html-scanner/text_node_test.rb" "test/controller/html-scanner/tokenizer_test.rb" "test/controller/http_basic_authentication_test.rb" "test/controller/http_digest_authentication_test.rb" "test/controller/integration_test.rb" "test/controller/layout_test.rb" "test/controller/localized_templates_test.rb" "test/controller/logging_test.rb" "test/controller/middleware_stack_test.rb" "test/controller/mime_responds_test.rb" "test/controller/mime_type_test.rb" "test/controller/output_escaping_test.rb" "test/controller/polymorphic_routes_test.rb" "test/controller/rack_test.rb" "test/controller/record_identifier_test.rb" "test/controller/redirect_test.rb" "test/controller/reloader_test.rb" "test/controller/render_test.rb" "test/controller/request/json_params_parsing_test.rb" "test/controller/request/multipart_params_parsing_test.rb" "test/controller/request/query_string_parsing_test.rb" "test/controller/request/test_request_test.rb" "test/controller/request/url_encoded_params_parsing_test.rb" "test/controller/request/xml_params_parsing_test.rb" "test/controller/request_forgery_protection_test.rb" "test/controller/request_test.rb" "test/controller/rescue_test.rb" "test/controller/resources_test.rb" "test/controller/routing_test.rb" "test/controller/selector_test.rb" "test/controller/send_file_test.rb" "test/controller/session/cookie_store_test.rb" "test/controller/session/mem_cache_store_test.rb" "test/controller/session/test_session_test.rb" "test/controller/test_test.rb" "test/controller/translation_test.rb" "test/controller/url_rewriter_test.rb" "test/controller/verification_test.rb" "test/controller/view_paths_test.rb" "test/controller/webservice_test.rb" "test/template/active_record_helper_i18n_test.rb" "test/template/active_record_helper_test.rb" "test/template/asset_tag_helper_test.rb" "test/template/atom_feed_helper_test.rb" "test/template/benchmark_helper_test.rb" "test/template/compiled_templates_test.rb" "test/template/date_helper_i18n_test.rb" "test/template/date_helper_test.rb" "test/template/erb_util_test.rb" "test/template/form_helper_test.rb" "test/template/form_options_helper_i18n_test.rb" "test/template/form_options_helper_test.rb" "test/template/form_tag_helper_test.rb" "test/template/javascript_helper_test.rb" "test/template/number_helper_i18n_test.rb" "test/template/number_helper_test.rb" "test/template/prototype_helper_test.rb" "test/template/raw_output_helper_test.rb" "test/template/record_tag_helper_test.rb" "test/template/render_test.rb" "test/template/sanitize_helper_test.rb" "test/template/scriptaculous_helper_test.rb" "test/template/tag_helper_test.rb" "test/template/template_test.rb" "test/template/test_test.rb" "test/template/text_helper_test.rb" "test/template/translation_helper_test.rb" "test/template/url_helper_test.rb" "test/view/test_case_test.rb"
Attempting to load Active Record... success
Loaded suite /usr/local/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F...F...FFF..FFFFFF.FFF......F.F...F...F..F........................................FF.FFF..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Finished in 19.199014 seconds.
1) Failure:
test_auto_index(FormHelperTest)
[/Users/noah/vendor/rails/actionpack/lib/action_controller/test_case.rb:119:in `clean_backtrace'
./test/template/form_helper_test.rb:466:in `test_auto_index'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"<textarea name=\"post[123][body]\" id=\"post_123_body\" rows=\"20\" cols=\"40\">Back to the hill and over it again!</textarea>"> expected but was
<"<textarea name=\"post[123][body]\" id=\"post_123_body\" rows=\"20\" cols=\"40\">What a wonderful world!</textarea>">.
2) Failure:
test_default_form_builder(FormHelperTest)
[/Users/noah/vendor/rails/actionpack/lib/action_controller/test_case.rb:119:in `clean_backtrace'
./test/template/form_helper_test.rb:1203:in `test_default_form_builder'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"<form method=\"post\" action=\"http://www.example.com\"><label for=\"title\">Title:</label><input name=\"post[title]\" size=\"30\" id=\"post_title\" value=\"Hello World\" type=\"text\" /><br /><label for=\"body\">Body:</label><textarea name=\"post[body]\" id=\"post_body\" rows=\"20\" cols=\"40\">Back to the hill and over it again!</textarea><br /><label for=\"secret\">Secret:</label><input name=\"post[secret]\" value=\"0\" type=\"hidden\" /><input checked=\"checked\" name=\"post[secret]\" id=\"post_secret\" value=\"1\" type=\"checkbox\" /><br /></form>"> expected but was
<"<form method=\"post\" action=\"http://www.example.com\"><label for=\"title\">Title:</label><input name=\"post[title]\" size=\"30\" id=\"post_title\" value=\"Hello World\" type=\"text\" /><br /><label for=\"body\">Body:</label><textarea name=\"post[body]\" id=\"post_body\" rows=\"20\" cols=\"40\">What a wonderful world!</textarea><br /><label for=\"secret\">Secret:</label><input name=\"post[secret]\" value=\"0\" type=\"hidden\" /><input name=\"post[secret]\" checked=\"checked\" id=\"post_secret\" value=\"1\" type=\"checkbox\" /><br /></form>">.
3) Failure:
test_explicit_id(FormHelperTest)
[/Users/noah/vendor/rails/actionpack/lib/action_controller/test_case.rb:119:in `clean_backtrace'
./test/template/form_helper_test.rb:441:in `test_explicit_id'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"<textarea name=\"post[body]\" id=\"really!\" rows=\"20\" cols=\"40\">Back to the hill and over it again!</textarea>"> expected but was
<"<textarea name=\"post[body]\" id=\"really!\" rows=\"20\" cols=\"40\">What a wonderful world!</textarea>">.
4) Failure:
test_explicit_name(FormHelperTest)
[/Users/noah/vendor/rails/actionpack/lib/action_controller/test_case.rb:119:in `clean_backtrace'
./test/template/form_helper_test.rb:421:in `test_explicit_name'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"<textarea name=\"really!\" id=\"post_body\" rows=\"20\" cols=\"40\">Back to the hill and over it again!</textarea>"> expected but was
<"<textarea name=\"really!\" id=\"post_body\" rows=\"20\" cols=\"40\">What a wonderful world!</textarea>">.
5) Failure:
test_fields_for(FormHelperTest)
[/Users/noah/vendor/rails/actionpack/lib/action_controller/test_case.rb:119:in `clean_backtrace'
./test/template/form_helper_test.rb:1008:in `test_fields_for'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"<input name=\"post[title]\" size=\"30\" id=\"post_title\" value=\"Hello World\" type=\"text\" /><textarea name=\"post[body]\" id=\"post_body\" rows=\"20\" cols=\"40\">Back to the hill and over it again!</textarea><input name=\"post[secret]\" value=\"0\" type=\"hidden\" /><input checked=\"checked\" name=\"post[secret]\" id=\"post_secret\" value=\"1\" type=\"checkbox\" />"> expected but was
<"<input name=\"post[title]\" size=\"30\" id=\"post_title\" value=\"Hello World\" type=\"text\" /><textarea name=\"post[body]\" id=\"post_body\" rows=\"20\" cols=\"40\">What a wonderful world!</textarea><input name=\"post[secret]\" value=\"0\" type=\"hidden\" /><input name=\"post[secret]\" checked=\"checked\" id=\"post_secret\" value=\"1\" type=\"checkbox\" />">.
6) Failure:
test_fields_for_with_index(FormHelperTest)
[/Users/noah/vendor/rails/actionpack/lib/action_controller/test_case.rb:119:in `clean_backtrace'
./test/template/form_helper_test.rb:1024:in `test_fields_for_with_index'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"<input name=\"post[123][title]\" size=\"30\" id=\"post_123_title\" value=\"Hello World\" type=\"text\" /><textarea name=\"post[123][body]\" id=\"post_123_body\" rows=\"20\" cols=\"40\">Back to the hill and over it again!</textarea><input name=\"post[123][secret]\" value=\"0\" type=\"hidden\" /><input checked=\"checked\" name=\"post[123][secret]\" id=\"post_123_secret\" value=\"1\" type=\"checkbox\" />"> expected but was
<"<input name=\"post[123][title]\" size=\"30\" id=\"post_123_title\" value=\"Hello World\" type=\"text\" /><textarea name=\"post[123][body]\" id=\"post_123_body\" rows=\"20\" cols=\"40\">What a wonderful world!</textarea><input name=\"post[123][secret]\" value=\"0\" type=\"hidden\" /><input name=\"post[123][secret]\" checked=\"checked\" id=\"post_123_secret\" value=\"1\" type=\"checkbox\" />">.
7) Failure:
test_fields_for_with_index_option_override(FormHelperTest)
[/Users/noah/vendor/rails/actionpack/lib/action_controller/test_case.rb:119:in `clean_backtrace'
./test/template/form_helper_test.rb:1056:in `test_fields_for_with_index_option_override'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"<input name=\"post[abc][title]\" size=\"30\" id=\"post_abc_title\" value=\"Hello World\" type=\"text\" /><textarea name=\"post[abc][body]\" id=\"post_abc_body\" rows=\"20\" cols=\"40\">Back to the hill and over it again!</textarea><input name=\"post[abc][secret]\" value=\"0\" type=\"hidden\" /><input checked=\"checked\" name=\"post[abc][secret]\" id=\"post_abc_secret\" value=\"1\" type=\"checkbox\" />"> expected but was
<"<input name=\"post[abc][title]\" size=\"30\" id=\"post_abc_title\" value=\"Hello World\" type=\"text\" /><textarea name=\"post[abc][body]\" id=\"post_abc_body\" rows=\"20\" cols=\"40\">What a wonderful world!</textarea><input name=\"post[abc][secret]\" value=\"0\" type=\"hidden\" /><input name=\"post[abc][secret]\" checked=\"checked\" id=\"post_abc_secret\" value=\"1\" type=\"checkbox\" />">.
8) Failure:
test_fields_for_with_labelled_builder(FormHelperTest)
[/Users/noah/vendor/rails/actionpack/lib/action_controller/test_case.rb:119:in `clean_backtrace'
./test/template/form_helper_test.rb:1289:in `test_fields_for_with_labelled_builder'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"<label for=\"title\">Title:</label><input name=\"post[title]\" size=\"30\" id=\"post_title\" value=\"Hello World\" type=\"text\" /><br /><label for=\"body\">Body:</label><textarea name=\"post[body]\" id=\"post_body\" rows=\"20\" cols=\"40\">Back to the hill and over it again!</textarea><br /><label for=\"secret\">Secret:</label><input name=\"post[secret]\" value=\"0\" type=\"hidden\" /><input checked=\"checked\" name=\"post[secret]\" id=\"post_secret\" value=\"1\" type=\"checkbox\" /><br />"> expected but was
<"<label for=\"title\">Title:</label><input name=\"post[title]\" size=\"30\" id=\"post_title\" value=\"Hello World\" type=\"text\" /><br /><label for=\"body\">Body:</label><textarea name=\"post[body]\" id=\"post_body\" rows=\"20\" cols=\"40\">What a wonderful world!</textarea><br /><label for=\"secret\">Secret:</label><input name=\"post[secret]\" value=\"0\" type=\"hidden\" /><input name=\"post[secret]\" checked=\"checked\" id=\"post_secret\" value=\"1\" type=\"checkbox\" /><br />">.
9) Failure:
test_fields_for_with_nil_index_option_override(FormHelperTest)
[/Users/noah/vendor/rails/actionpack/lib/action_controller/test_case.rb:119:in `clean_backtrace'
./test/template/form_helper_test.rb:1040:in `test_fields_for_with_nil_index_option_override'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"<input name=\"post[][title]\" size=\"30\" id=\"post__title\" value=\"Hello World\" type=\"text\" /><textarea name=\"post[][body]\" id=\"post__body\" rows=\"20\" cols=\"40\">Back to the hill and over it again!</textarea><input name=\"post[][secret]\" value=\"0\" type=\"hidden\" /><input checked=\"checked\" name=\"post[][secret]\" id=\"post__secret\" value=\"1\" type=\"checkbox\" />"> expected but was
<"<input name=\"post[][title]\" size=\"30\" id=\"post__title\" value=\"Hello World\" type=\"text\" /><textarea name=\"post[][body]\" id=\"post__body\" rows=\"20\" cols=\"40\">What a wonderful world!</textarea><input name=\"post[][secret]\" value=\"0\" type=\"hidden\" /><input name=\"post[][secret]\" checked=\"checked\" id=\"post__secret\" value=\"1\" type=\"checkbox\" />">.
10) Failure:
test_fields_for_with_only_object(FormHelperTest)
[/Users/noah/vendor/rails/actionpack/lib/action_controller/test_case.rb:119:in `clean_backtrace'
./test/template/form_helper_test.rb:1088:in `test_fields_for_with_only_object'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"<input name=\"post[title]\" size=\"30\" id=\"post_title\" value=\"Hello World\" type=\"text\" /><textarea name=\"post[body]\" id=\"post_body\" rows=\"20\" cols=\"40\">Back to the hill and over it again!</textarea><input name=\"post[secret]\" value=\"0\" type=\"hidden\" /><input checked=\"checked\" name=\"post[secret]\" id=\"post_secret\" value=\"1\" type=\"checkbox\" />"> expected but was
<"<input name=\"post[title]\" size=\"30\" id=\"post_title\" value=\"Hello World\" type=\"text\" /><textarea name=\"post[body]\" id=\"post_body\" rows=\"20\" cols=\"40\">What a wonderful world!</textarea><input name=\"post[secret]\" value=\"0\" type=\"hidden\" /><input name=\"post[secret]\" checked=\"checked\" id=\"post_secret\" value=\"1\" type=\"checkbox\" />">.
11) Failure:
test_fields_for_without_object(FormHelperTest)
[/Users/noah/vendor/rails/actionpack/lib/action_controller/test_case.rb:119:in `clean_backtrace'
./test/template/form_helper_test.rb:1072:in `test_fields_for_without_object'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"<input name=\"post[title]\" size=\"30\" id=\"post_title\" value=\"Hello World\" type=\"text\" /><textarea name=\"post[body]\" id=\"post_body\" rows=\"20\" cols=\"40\">Back to the hill and over it again!</textarea><input name=\"post[secret]\" value=\"0\" type=\"hidden\" /><input checked=\"checked\" name=\"post[secret]\" id=\"post_secret\" value=\"1\" type=\"checkbox\" />"> expected but was
<"<input name=\"post[title]\" size=\"30\" id=\"post_title\" value=\"Hello World\" type=\"text\" /><textarea name=\"post[body]\" id=\"post_body\" rows=\"20\" cols=\"40\">What a wonderful world!</textarea><input name=\"post[secret]\" value=\"0\" type=\"hidden\" /><input name=\"post[secret]\" checked=\"checked\" id=\"post_secret\" value=\"1\" type=\"checkbox\" />">.
12) Failure:
test_form_for(FormHelperTest)
[/Users/noah/vendor/rails/actionpack/lib/action_controller/test_case.rb:119:in `clean_backtrace'
./test/template/form_helper_test.rb:501:in `test_form_for'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"<form method=\"post\" action=\"http://www.example.com\" id=\"create-post\"><label for=\"post_title\">Title</label><input name=\"post[title]\" size=\"30\" id=\"post_title\" value=\"Hello World\" type=\"text\" /><textarea name=\"post[body]\" id=\"post_body\" rows=\"20\" cols=\"40\">Back to the hill and over it again!</textarea><input name=\"post[secret]\" value=\"0\" type=\"hidden\" /><input checked=\"checked\" name=\"post[secret]\" id=\"post_secret\" value=\"1\" type=\"checkbox\" /><input name=\"commit\" id=\"post_submit\" value=\"Create post\" type=\"submit\" /></form>"> expected but was
<"<form method=\"post\" action=\"http://www.example.com\" id=\"create-post\"><label for=\"post_title\">Title</label><input name=\"post[title]\" size=\"30\" id=\"post_title\" value=\"Hello World\" type=\"text\" /><textarea name=\"post[body]\" id=\"post_body\" rows=\"20\" cols=\"40\">What a wonderful world!</textarea><input name=\"post[secret]\" value=\"0\" type=\"hidden\" /><input name=\"post[secret]\" checked=\"checked\" id=\"post_secret\" value=\"1\" type=\"checkbox\" /><input name=\"commit\" id=\"post_submit\" value=\"Create post\" type=\"submit\" /></form>">.
13) Failure:
test_form_for_and_fields_for(FormHelperTest)
[/Users/noah/vendor/rails/actionpack/lib/action_controller/test_case.rb:119:in `clean_backtrace'
./test/template/form_helper_test.rb:1135:in `test_form_for_and_fields_for'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"<form method=\"post\" action=\"http://www.example.com\" id=\"create-post\"><input name=\"post[title]\" size=\"30\" id=\"post_title\" value=\"Hello World\" type=\"text\" /><textarea name=\"post[body]\" id=\"post_body\" rows=\"20\" cols=\"40\">Back to the hill and over it again!</textarea><input name=\"parent_post[secret]\" value=\"0\" type=\"hidden\" /><input checked=\"checked\" name=\"parent_post[secret]\" id=\"parent_post_secret\" value=\"1\" type=\"checkbox\" /></form>"> expected but was
<"<form method=\"post\" action=\"http://www.example.com\" id=\"create-post\"><input name=\"post[title]\" size=\"30\" id=\"post_title\" value=\"Hello World\" type=\"text\" /><textarea name=\"post[body]\" id=\"post_body\" rows=\"20\" cols=\"40\">What a wonderful world!</textarea><input name=\"parent_post[secret]\" value=\"0\" type=\"hidden\" /><input name=\"parent_post[secret]\" checked=\"checked\" id=\"parent_post_secret\" value=\"1\" type=\"checkbox\" /></form>">.
14) Failure:
test_form_for_and_fields_for_with_object(FormHelperTest)
[/Users/noah/vendor/rails/actionpack/lib/action_controller/test_case.rb:119:in `clean_backtrace'
./test/template/form_helper_test.rb:1155:in `test_form_for_and_fields_for_with_object'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"<form method=\"post\" action=\"http://www.example.com\" id=\"create-post\"><input name=\"post[title]\" size=\"30\" id=\"post_title\" value=\"Hello World\" type=\"text\" /><textarea name=\"post[body]\" id=\"post_body\" rows=\"20\" cols=\"40\">Back to the hill and over it again!</textarea><input name=\"post[comment][name]\" size=\"30\" id=\"post_comment_name\" value=\"new comment\" type=\"text\" /></form>"> expected but was
<"<form method=\"post\" action=\"http://www.example.com\" id=\"create-post\"><input name=\"post[title]\" size=\"30\" id=\"post_title\" value=\"Hello World\" type=\"text\" /><textarea name=\"post[body]\" id=\"post_body\" rows=\"20\" cols=\"40\">What a wonderful world!</textarea><input name=\"post[comment][name]\" size=\"30\" id=\"post_comment_name\" value=\"new comment\" type=\"text\" /></form>">.
15) Failure:
test_form_for_with_index(FormHelperTest)
[/Users/noah/vendor/rails/actionpack/lib/action_controller/test_case.rb:119:in `clean_backtrace'
./test/template/form_helper_test.rb:558:in `test_form_for_with_index'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"<form method=\"post\" action=\"http://www.example.com\"><label for=\"post_123_title\">Title</label><input name=\"post[123][title]\" size=\"30\" id=\"post_123_title\" value=\"Hello World\" type=\"text\" /><textarea name=\"post[123][body]\" id=\"post_123_body\" rows=\"20\" cols=\"40\">Back to the hill and over it again!</textarea><input name=\"post[123][secret]\" value=\"0\" type=\"hidden\" /><input checked=\"checked\" name=\"post[123][secret]\" id=\"post_123_secret\" value=\"1\" type=\"checkbox\" /></form>"> expected but was
<"<form method=\"post\" action=\"http://www.example.com\"><label for=\"post_123_title\">Title</label><input name=\"post[123][title]\" size=\"30\" id=\"post_123_title\" value=\"Hello World\" type=\"text\" /><textarea name=\"post[123][body]\" id=\"post_123_body\" rows=\"20\" cols=\"40\">What a wonderful world!</textarea><input name=\"post[123][secret]\" value=\"0\" type=\"hidden\" /><input name=\"post[123][secret]\" checked=\"checked\" id=\"post_123_secret\" value=\"1\" type=\"checkbox\" /></form>">.
16) Failure:
test_form_for_with_labelled_builder(FormHelperTest)
[/Users/noah/vendor/rails/actionpack/lib/action_controller/test_case.rb:119:in `clean_backtrace'
./test/template/form_helper_test.rb:1183:in `test_form_for_with_labelled_builder'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"<form method=\"post\" action=\"http://www.example.com\"><label for=\"title\">Title:</label><input name=\"post[title]\" size=\"30\" id=\"post_title\" value=\"Hello World\" type=\"text\" /><br /><label for=\"body\">Body:</label><textarea name=\"post[body]\" id=\"post_body\" rows=\"20\" cols=\"40\">Back to the hill and over it again!</textarea><br /><label for=\"secret\">Secret:</label><input name=\"post[secret]\" value=\"0\" type=\"hidden\" /><input checked=\"checked\" name=\"post[secret]\" id=\"post_secret\" value=\"1\" type=\"checkbox\" /><br /></form>"> expected but was
<"<form method=\"post\" action=\"http://www.example.com\"><label for=\"title\">Title:</label><input name=\"post[title]\" size=\"30\" id=\"post_title\" value=\"Hello World\" type=\"text\" /><br /><label for=\"body\">Body:</label><textarea name=\"post[body]\" id=\"post_body\" rows=\"20\" cols=\"40\">What a wonderful world!</textarea><br /><label for=\"secret\">Secret:</label><input name=\"post[secret]\" value=\"0\" type=\"hidden\" /><input name=\"post[secret]\" checked=\"checked\" id=\"post_secret\" value=\"1\" type=\"checkbox\" /><br /></form>">.
17) Failure:
test_form_for_with_method(FormHelperTest)
[/Users/noah/vendor/rails/actionpack/lib/action_controller/test_case.rb:119:in `clean_backtrace'
./test/template/form_helper_test.rb:520:in `test_form_for_with_method'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"<form method=\"post\" action=\"http://www.example.com\" id=\"create-post\"><div style=\"margin:0;padding:0;display:inline\"><input name=\"_method\" value=\"put\" type=\"hidden\" /></div><input name=\"post[title]\" size=\"30\" id=\"post_title\" value=\"Hello World\" type=\"text\" /><textarea name=\"post[body]\" id=\"post_body\" rows=\"20\" cols=\"40\">Back to the hill and over it again!</textarea><input name=\"post[secret]\" value=\"0\" type=\"hidden\" /><input checked=\"checked\" name=\"post[secret]\" id=\"post_secret\" value=\"1\" type=\"checkbox\" /></form>"> expected but was
<"<form method=\"post\" action=\"http://www.example.com\" id=\"create-post\"><div style=\"margin:0;padding:0;display:inline\"><input name=\"_method\" value=\"put\" type=\"hidden\" /></div><input name=\"post[title]\" size=\"30\" id=\"post_title\" value=\"Hello World\" type=\"text\" /><textarea name=\"post[body]\" id=\"post_body\" rows=\"20\" cols=\"40\">What a wonderful world!</textarea><input name=\"post[secret]\" value=\"0\" type=\"hidden\" /><input name=\"post[secret]\" checked=\"checked\" id=\"post_secret\" value=\"1\" type=\"checkbox\" /></form>">.
18) Failure:
test_form_for_with_nil_index_option_override(FormHelperTest)
[/Users/noah/vendor/rails/actionpack/lib/action_controller/test_case.rb:119:in `clean_backtrace'
./test/template/form_helper_test.rb:576:in `test_form_for_with_nil_index_option_override'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"<form method=\"post\" action=\"http://www.example.com\"><input name=\"post[][title]\" size=\"30\" id=\"post__title\" value=\"Hello World\" type=\"text\" /><textarea name=\"post[][body]\" id=\"post__body\" rows=\"20\" cols=\"40\">Back to the hill and over it again!</textarea><input name=\"post[][secret]\" value=\"0\" type=\"hidden\" /><input checked=\"checked\" name=\"post[][secret]\" id=\"post__secret\" value=\"1\" type=\"checkbox\" /></form>"> expected but was
<"<form method=\"post\" action=\"http://www.example.com\"><input name=\"post[][title]\" size=\"30\" id=\"post__title\" value=\"Hello World\" type=\"text\" /><textarea name=\"post[][body]\" id=\"post__body\" rows=\"20\" cols=\"40\">What a wonderful world!</textarea><input name=\"post[][secret]\" value=\"0\" type=\"hidden\" /><input name=\"post[][secret]\" checked=\"checked\" id=\"post__secret\" value=\"1\" type=\"checkbox\" /></form>">.
19) Failure:
test_form_for_without_object(FormHelperTest)
[/Users/noah/vendor/rails/actionpack/lib/action_controller/test_case.rb:119:in `clean_backtrace'
./test/template/form_helper_test.rb:538:in `test_form_for_without_object'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"<form method=\"post\" action=\"http://www.example.com\" id=\"create-post\"><input name=\"post[title]\" size=\"30\" id=\"post_title\" value=\"Hello World\" type=\"text\" /><textarea name=\"post[body]\" id=\"post_body\" rows=\"20\" cols=\"40\">Back to the hill and over it again!</textarea><input name=\"post[secret]\" value=\"0\" type=\"hidden\" /><input checked=\"checked\" name=\"post[secret]\" id=\"post_secret\" value=\"1\" type=\"checkbox\" /></form>"> expected but was
<"<form method=\"post\" action=\"http://www.example.com\" id=\"create-post\"><input name=\"post[title]\" size=\"30\" id=\"post_title\" value=\"Hello World\" type=\"text\" /><textarea name=\"post[body]\" id=\"post_body\" rows=\"20\" cols=\"40\">What a wonderful world!</textarea><input name=\"post[secret]\" value=\"0\" type=\"hidden\" /><input name=\"post[secret]\" checked=\"checked\" id=\"post_secret\" value=\"1\" type=\"checkbox\" /></form>">.
20) Failure:
test_remote_form_for_with_labelled_builder(FormHelperTest)
[/Users/noah/vendor/rails/actionpack/lib/action_controller/test_case.rb:119:in `clean_backtrace'
./test/template/form_helper_test.rb:1274:in `test_remote_form_for_with_labelled_builder'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"<form method=\"post\" onsubmit=\"new Ajax.Request('http://www.example.com', {asynchronous:true, evalScripts:true, parameters:Form.serialize(this)}); return false;\" action=\"http://www.example.com\"><label for=\"title\">Title:</label><input name=\"post[title]\" size=\"30\" id=\"post_title\" value=\"Hello World\" type=\"text\" /><br /><label for=\"body\">Body:</label><textarea name=\"post[body]\" id=\"post_body\" rows=\"20\" cols=\"40\">Back to the hill and over it again!</textarea><br /><label for=\"secret\">Secret:</label><input name=\"post[secret]\" value=\"0\" type=\"hidden\" /><input checked=\"checked\" name=\"post[secret]\" id=\"post_secret\" value=\"1\" type=\"checkbox\" /><br /></form>"> expected but was
<"<form onsubmit=\"new Ajax.Request('http://www.example.com', {asynchronous:true, evalScripts:true, parameters:Form.serialize(this)}); return false;\" method=\"post\" action=\"http://www.example.com\"><label for=\"title\">Title:</label><input name=\"post[title]\" size=\"30\" id=\"post_title\" value=\"Hello World\" type=\"text\" /><br /><label for=\"body\">Body:</label><textarea name=\"post[body]\" id=\"post_body\" rows=\"20\" cols=\"40\">What a wonderful world!</textarea><br /><label for=\"secret\">Secret:</label><input name=\"post[secret]\" value=\"0\" type=\"hidden\" /><input name=\"post[secret]\" checked=\"checked\" id=\"post_secret\" value=\"1\" type=\"checkbox\" /><br /></form>">.
21) Failure:
test_text_area(FormHelperTest)
[/Users/noah/vendor/rails/actionpack/lib/action_controller/test_case.rb:119:in `clean_backtrace'
./test/template/form_helper_test.rb:381:in `test_text_area'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"<textarea name=\"post[body]\" id=\"post_body\" rows=\"20\" cols=\"40\">Back to the hill and over it again!</textarea>"> expected but was
<"<textarea name=\"post[body]\" id=\"post_body\" rows=\"20\" cols=\"40\">What a wonderful world!</textarea>">.
22) Failure:
test_text_area_with_escapes(FormHelperTest)
[/Users/noah/vendor/rails/actionpack/lib/action_controller/test_case.rb:119:in `clean_backtrace'
./test/template/form_helper_test.rb:389:in `test_text_area_with_escapes'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"<textarea name=\"post[body]\" id=\"post_body\" rows=\"20\" cols=\"40\">Back to &lt;i&gt;the&lt;/i&gt; hill and over it again!</textarea>"> expected but was
<"<textarea name=\"post[body]\" id=\"post_body\" rows=\"20\" cols=\"40\">What a wonderful world!</textarea>">.
23) Failure:
test_text_area_with_html_entities(FormHelperTest)
[/Users/noah/vendor/rails/actionpack/lib/action_controller/test_case.rb:119:in `clean_backtrace'
./test/template/form_helper_test.rb:404:in `test_text_area_with_html_entities'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"<textarea name=\"post[body]\" id=\"post_body\" rows=\"20\" cols=\"40\">The HTML Entity for &amp; is &amp;amp;</textarea>"> expected but was
<"<textarea name=\"post[body]\" id=\"post_body\" rows=\"20\" cols=\"40\">What a wonderful world!</textarea>">.
24) Failure:
test_text_area_with_size_option(FormHelperTest)
[/Users/noah/vendor/rails/actionpack/lib/action_controller/test_case.rb:119:in `clean_backtrace'
./test/template/form_helper_test.rb:411:in `test_text_area_with_size_option'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
/Users/noah/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"<textarea name=\"post[body]\" id=\"post_body\" rows=\"820\" cols=\"183\">Back to the hill and over it again!</textarea>"> expected but was
<"<textarea name=\"post[body]\" id=\"post_body\" rows=\"820\" cols=\"183\">What a wonderful world!</textarea>">.
2511 tests, 11507 assertions, 24 failures, 0 errors
rake aborted!
Command failed with status (1): [/usr/local/ruby-enterprise-1.8.7-2009.10/b...]
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment