From eb23754ebbfbf2d465cc0f900720704fb3703633 Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Wed, 17 Apr 2013 00:06:11 +0200 Subject: Move template tests from actionpack to actionview --- .../test/fixtures/_top_level_partial.html.erb | 1 + .../test/fixtures/_top_level_partial_only.erb | 1 + .../test/fixtures/alternate_helpers/foo_helper.rb | 3 ++ .../fixtures/bad_customers/_bad_customer.html.erb | 1 + actionview/test/fixtures/blog_public/.gitignore | 1 + actionview/test/fixtures/blog_public/blog.html | 1 + actionview/test/fixtures/blog_public/index.html | 1 + .../test/fixtures/blog_public/subdir/index.html | 1 + .../test/fixtures/comments/empty.de.html.erb | 1 + .../test/fixtures/comments/empty.html.builder | 1 + actionview/test/fixtures/comments/empty.html.erb | 1 + actionview/test/fixtures/comments/empty.xml.erb | 1 + actionview/test/fixtures/companies.yml | 24 ++++++++++ actionview/test/fixtures/company.rb | 9 ++++ .../test/fixtures/custom_pattern/another.html.erb | 1 + .../test/fixtures/custom_pattern/html/another.erb | 1 + .../test/fixtures/custom_pattern/html/path.erb | 1 + .../test/fixtures/customers/_customer.html.erb | 1 + actionview/test/fixtures/db_definitions/sqlite.sql | 49 +++++++++++++++++++++ actionview/test/fixtures/developer.rb | 10 +++++ actionview/test/fixtures/developers.yml | 21 +++++++++ actionview/test/fixtures/developers/_developer.erb | 1 + actionview/test/fixtures/developers_projects.yml | 13 ++++++ .../fixtures/digestor/comments/_comment.html.erb | 1 + .../fixtures/digestor/comments/_comments.html.erb | 1 + .../test/fixtures/digestor/events/_event.html.erb | 0 .../fixtures/digestor/level/below/_header.html.erb | 0 .../fixtures/digestor/level/below/index.html.erb | 1 + .../test/fixtures/digestor/messages/_form.html.erb | 0 .../fixtures/digestor/messages/_header.html.erb | 0 .../fixtures/digestor/messages/_message.html.erb | 1 + .../digestor/messages/actions/_move.html.erb | 0 .../test/fixtures/digestor/messages/edit.html.erb | 5 +++ .../test/fixtures/digestor/messages/index.html.erb | 2 + .../test/fixtures/digestor/messages/show.html.erb | 13 ++++++ .../filter_test/implicit_actions/edit.html.erb | 1 + .../filter_test/implicit_actions/show.html.erb | 1 + actionview/test/fixtures/fun/games/_form.erb | 1 + actionview/test/fixtures/fun/games/_game.erb | 1 + actionview/test/fixtures/fun/games/hello_world.erb | 1 + .../test/fixtures/fun/serious/games/_game.erb | 1 + .../test/fixtures/functional_caching/_partial.erb | 3 ++ .../formatted_fragment_cached.html.erb | 3 ++ .../formatted_fragment_cached.xml.builder | 5 +++ .../functional_caching/fragment_cached.html.erb | 3 ++ .../fragment_cached_without_digest.html.erb | 3 ++ .../html_fragment_cached_with_partial.html.erb | 1 + .../inline_fragment_cached.html.erb | 2 + actionview/test/fixtures/games/_game.erb | 1 + .../good_customers/_good_customer.html.erb | 1 + .../happy_path/render_action/hello_world.erb | 1 + actionview/test/fixtures/hello.html | 1 + actionview/test/fixtures/helpers/abc_helper.rb | 5 +++ .../test/fixtures/helpers/fun/games_helper.rb | 5 +++ actionview/test/fixtures/helpers/fun/pdf_helper.rb | 5 +++ .../test/fixtures/helpers/helpery_test_helper.rb | 5 +++ actionview/test/fixtures/helpers/just_me_helper.rb | 3 ++ actionview/test/fixtures/helpers/me_too_helper.rb | 3 ++ .../test/fixtures/helpers1_pack/pack1_helper.rb | 5 +++ .../test/fixtures/helpers2_pack/pack2_helper.rb | 5 +++ .../test/fixtures/layout_tests/alt/hello.erb | 1 + .../test/fixtures/layout_tests/alt/layouts/alt.erb | 0 .../layouts/controller_name_space/nested.erb | 1 + .../test/fixtures/layout_tests/layouts/item.erb | 1 + .../fixtures/layout_tests/layouts/layout_test.erb | 1 + .../layouts/multiple_extensions.html.erb | 1 + .../test/fixtures/layout_tests/layouts/symlinked | 1 + .../layouts/third_party_template_library.mab | 1 + .../test/fixtures/layout_tests/views/goodbye.erb | 1 + .../test/fixtures/layout_tests/views/hello.erb | 1 + actionview/test/fixtures/layouts/_column.html.erb | 2 + actionview/test/fixtures/layouts/_customers.erb | 1 + .../test/fixtures/layouts/_partial_and_yield.erb | 2 + actionview/test/fixtures/layouts/_yield_only.erb | 1 + .../test/fixtures/layouts/_yield_with_params.erb | 1 + .../test/fixtures/layouts/block_with_layout.erb | 3 ++ actionview/test/fixtures/layouts/builder.builder | 3 ++ .../test/fixtures/layouts/partial_with_layout.erb | 3 ++ actionview/test/fixtures/layouts/standard.html.erb | 1 + actionview/test/fixtures/layouts/streaming.erb | 4 ++ .../test/fixtures/layouts/talk_from_action.erb | 2 + .../fixtures/layouts/with_html_partial.html.erb | 1 + actionview/test/fixtures/layouts/xhr.html.erb | 2 + actionview/test/fixtures/layouts/yield.erb | 2 + .../layouts/yield_with_render_inline_inside.erb | 2 + .../layouts/yield_with_render_partial_inside.erb | 2 + .../test/fixtures/localized/hello_world.de.html | 1 + .../test/fixtures/localized/hello_world.en.html | 1 + actionview/test/fixtures/mascot.rb | 3 ++ actionview/test/fixtures/mascots.yml | 4 ++ actionview/test/fixtures/mascots/_mascot.html.erb | 1 + actionview/test/fixtures/multipart/binary_file | Bin 0 -> 19820 bytes .../test/fixtures/multipart/boundary_problem_file | 10 +++++ actionview/test/fixtures/multipart/bracketed_param | 5 +++ .../test/fixtures/multipart/bracketed_utf8_param | 5 +++ actionview/test/fixtures/multipart/empty | 10 +++++ actionview/test/fixtures/multipart/hello.txt | 1 + actionview/test/fixtures/multipart/large_text_file | 10 +++++ actionview/test/fixtures/multipart/mixed_files | Bin 0 -> 19937 bytes actionview/test/fixtures/multipart/mona_lisa.jpg | Bin 0 -> 159528 bytes actionview/test/fixtures/multipart/none | 9 ++++ .../test/fixtures/multipart/single_parameter | 5 +++ .../test/fixtures/multipart/single_utf8_param | 5 +++ actionview/test/fixtures/multipart/text_file | 10 +++++ ...er_default_content_types_for_respond_to.xml.erb | 1 + .../render_default_for_builder.builder | 1 + .../old_content_type/render_default_for_erb.erb | 1 + .../test/fixtures/override/test/hello_world.erb | 1 + .../test/fixtures/override2/layouts/test/sub.erb | 1 + actionview/test/fixtures/plain_text.raw | 1 + .../test/fixtures/plain_text_with_characters.raw | 1 + .../test/fixtures/post_test/layouts/post.html.erb | 1 + .../post_test/layouts/super_post.iphone.erb | 1 + .../test/fixtures/post_test/post/index.html.erb | 1 + .../test/fixtures/post_test/post/index.iphone.erb | 1 + .../fixtures/post_test/super_post/index.html.erb | 1 + .../fixtures/post_test/super_post/index.iphone.erb | 1 + actionview/test/fixtures/project.rb | 3 ++ actionview/test/fixtures/projects.yml | 7 +++ actionview/test/fixtures/projects/_project.erb | 1 + actionview/test/fixtures/public/.gitignore | 1 + actionview/test/fixtures/public/404.html | 1 + actionview/test/fixtures/public/500.da.html | 1 + actionview/test/fixtures/public/500.html | 1 + actionview/test/fixtures/public/elsewhere/cools.js | 1 + actionview/test/fixtures/public/elsewhere/file.css | 1 + actionview/test/fixtures/public/foo/bar.html | 1 + actionview/test/fixtures/public/foo/baz.css | 3 ++ actionview/test/fixtures/public/foo/index.html | 1 + ...2\223\343\201\253\343\201\241\343\201\257.html" | 1 + actionview/test/fixtures/public/index.html | 1 + .../fixtures/public/javascripts/application.js | 1 + .../test/fixtures/public/javascripts/bank.js | 1 + .../fixtures/public/javascripts/common.javascript | 1 + .../test/fixtures/public/javascripts/controls.js | 1 + .../test/fixtures/public/javascripts/dragdrop.js | 1 + .../test/fixtures/public/javascripts/effects.js | 1 + .../test/fixtures/public/javascripts/prototype.js | 1 + .../test/fixtures/public/javascripts/robber.js | 1 + .../fixtures/public/javascripts/subdir/subdir.js | 1 + .../fixtures/public/javascripts/version.1.0.js | 1 + .../test/fixtures/public/stylesheets/bank.css | 1 + .../test/fixtures/public/stylesheets/random.styles | 1 + .../test/fixtures/public/stylesheets/robber.css | 1 + .../fixtures/public/stylesheets/subdir/subdir.css | 1 + .../fixtures/public/stylesheets/version.1.0.css | 1 + .../fixtures/quiz/questions/_question.html.erb | 1 + actionview/test/fixtures/replies.yml | 15 +++++++ actionview/test/fixtures/replies/_reply.erb | 1 + actionview/test/fixtures/reply.rb | 7 +++ .../respond_to/all_types_with_layout.html.erb | 1 + ...stom_constant_handling_without_block.mobile.erb | 1 + .../iphone_with_html_response_type.html.erb | 1 + .../iphone_with_html_response_type.iphone.erb | 1 + .../fixtures/respond_to/layouts/missing.html.erb | 1 + .../fixtures/respond_to/layouts/standard.html.erb | 1 + .../respond_to/layouts/standard.iphone.erb | 1 + .../fixtures/respond_to/using_defaults.html.erb | 1 + .../fixtures/respond_to/using_defaults.xml.builder | 1 + .../respond_to/using_defaults_with_all.html.erb | 1 + .../using_defaults_with_type_list.html.erb | 1 + .../using_defaults_with_type_list.xml.builder | 1 + .../test/fixtures/respond_with/edit.html.erb | 1 + actionview/test/fixtures/respond_with/new.html.erb | 1 + .../using_invalid_resource_with_template.xml.erb | 1 + .../using_options_with_template.xml.erb | 1 + .../fixtures/respond_with/using_resource.js.erb | 1 + .../using_resource_with_block.html.erb | 1 + actionview/test/fixtures/ruby_template.ruby | 2 + actionview/test/fixtures/scope/test/modgreet.erb | 1 + .../session_autoload_test/foo.rb | 10 +++++ actionview/test/fixtures/shared.html.erb | 1 + .../test/fixtures/star_star_mime/index.js.erb | 1 + .../fixtures/symlink_parent/symlinked_layout.erb | 5 +++ actionview/test/fixtures/test/_200.html.erb | 1 + .../fixtures/test/_b_layout_for_partial.html.erb | 1 + .../_b_layout_for_partial_with_object.html.erb | 1 + ...layout_for_partial_with_object_counter.html.erb | 1 + .../test/fixtures/test/_changing_priority.html.erb | 1 + .../test/fixtures/test/_changing_priority.json.erb | 1 + .../test/_content_tag_nested_in_content_tag.erb | 3 ++ actionview/test/fixtures/test/_counter.html.erb | 1 + actionview/test/fixtures/test/_customer.erb | 1 + .../test/fixtures/test/_customer_counter.erb | 1 + .../fixtures/test/_customer_counter_with_as.erb | 1 + .../test/fixtures/test/_customer_greeting.erb | 1 + .../test/fixtures/test/_customer_with_var.erb | 1 + .../test/_directory/_partial_with_locales.html.erb | 1 + .../fixtures/test/_first_json_partial.json.erb | 1 + actionview/test/fixtures/test/_form.erb | 1 + actionview/test/fixtures/test/_from_helper.erb | 1 + actionview/test/fixtures/test/_hash_greeting.erb | 1 + actionview/test/fixtures/test/_hash_object.erb | 2 + actionview/test/fixtures/test/_hello.builder | 1 + .../fixtures/test/_json_change_priority.json.erb | 0 .../test/fixtures/test/_label_with_block.erb | 4 ++ actionview/test/fixtures/test/_labelling_form.erb | 1 + .../test/_layout_for_block_with_args.html.erb | 3 ++ .../fixtures/test/_layout_for_partial.html.erb | 3 ++ .../test/_layout_with_partial_and_yield.html.erb | 4 ++ .../test/fixtures/test/_local_inspector.html.erb | 1 + .../test/fixtures/test/_object_inspector.erb | 1 + actionview/test/fixtures/test/_one.html.erb | 1 + actionview/test/fixtures/test/_partial.erb | 1 + actionview/test/fixtures/test/_partial.html.erb | 1 + actionview/test/fixtures/test/_partial.js.erb | 1 + .../test/_partial_for_use_in_layout.html.erb | 1 + .../test/fixtures/test/_partial_html_erb.html.erb | 1 + .../fixtures/test/_partial_name_local_variable.erb | 1 + actionview/test/fixtures/test/_partial_only.erb | 1 + .../test/fixtures/test/_partial_only_html.html | 1 + .../test/fixtures/test/_partial_with_layout.erb | 2 + .../test/_partial_with_layout_block_content.erb | 4 ++ .../test/_partial_with_layout_block_partial.erb | 4 ++ .../test/_partial_with_only_html_version.html.erb | 1 + .../test/fixtures/test/_partial_with_partial.erb | 2 + actionview/test/fixtures/test/_person.erb | 2 + actionview/test/fixtures/test/_raise.html.erb | 1 + .../test/fixtures/test/_raise_indentation.html.erb | 13 ++++++ .../fixtures/test/_second_json_partial.json.erb | 1 + actionview/test/fixtures/test/_two.html.erb | 1 + .../test/fixtures/test/_utf8_partial.html.erb | 1 + .../fixtures/test/_utf8_partial_magic.html.erb | 2 + .../test/fixtures/test/action_talk_to_layout.erb | 2 + actionview/test/fixtures/test/basic.html.erb | 1 + .../test/calling_partial_with_layout.html.erb | 1 + actionview/test/fixtures/test/capturing.erb | 4 ++ .../test/fixtures/test/change_priority.html.erb | 2 + actionview/test/fixtures/test/content_for.erb | 1 + .../fixtures/test/content_for_concatenated.erb | 3 ++ .../fixtures/test/content_for_with_parameter.erb | 2 + actionview/test/fixtures/test/dont_pick_me | 1 + .../test/dot.directory/render_file_with_ivar.erb | 1 + .../test/fixtures/test/formatted_html_erb.html.erb | 1 + .../test/fixtures/test/formatted_xml_erb.builder | 1 + .../test/fixtures/test/formatted_xml_erb.html.erb | 1 + .../test/fixtures/test/formatted_xml_erb.xml.erb | 1 + actionview/test/fixtures/test/greeting.html.erb | 1 + actionview/test/fixtures/test/greeting.xml.erb | 1 + actionview/test/fixtures/test/hello,world.erb | 1 + actionview/test/fixtures/test/hello.builder | 4 ++ actionview/test/fixtures/test/hello/hello.erb | 1 + .../test/fixtures/test/hello_world.da.html.erb | 1 + actionview/test/fixtures/test/hello_world.erb | 1 + .../test/fixtures/test/hello_world.pt-BR.html.erb | 1 + .../fixtures/test/hello_world_container.builder | 3 ++ .../fixtures/test/hello_world_from_rxml.builder | 3 ++ .../test/hello_world_with_layout_false.erb | 1 + .../test/hello_world_with_partial.html.erb | 2 + .../test/fixtures/test/hello_xml_world.builder | 11 +++++ .../test/fixtures/test/html_template.html.erb | 1 + actionview/test/fixtures/test/hyphen-ated.erb | 1 + .../test/implicit_content_type.atom.builder | 2 + .../test/fixtures/test/layout_render_file.erb | 2 + .../test/fixtures/test/layout_render_object.erb | 1 + actionview/test/fixtures/test/list.erb | 1 + actionview/test/fixtures/test/nested_layout.erb | 3 ++ actionview/test/fixtures/test/nested_streaming.erb | 3 ++ .../test/non_erb_block_content_for.builder | 4 ++ actionview/test/fixtures/test/one.html.erb | 1 + .../test/fixtures/test/potential_conflicts.erb | 4 ++ .../test/fixtures/test/proper_block_detection.erb | 1 + .../test/render_file_from_template.html.erb | 1 + .../test/fixtures/test/render_file_with_ivar.erb | 1 + .../test/fixtures/test/render_file_with_locals.erb | 1 + .../test/render_file_with_locals_and_default.erb | 1 + ...icit_html_template_from_xhr_request.da.html.erb | 1 + ...mplicit_html_template_from_xhr_request.html.erb | 1 + ...nder_implicit_js_template_without_layout.js.erb | 1 + .../test/render_partial_inside_directory.html.erb | 1 + .../test/fixtures/test/render_to_string_test.erb | 1 + .../fixtures/test/render_two_partials.html.erb | 2 + actionview/test/fixtures/test/streaming.erb | 3 ++ actionview/test/fixtures/test/streaming_buster.erb | 3 ++ .../test/fixtures/test/sub_template_raise.html.erb | 1 + actionview/test/fixtures/test/template.erb | 1 + .../fixtures/test/update_element_with_capture.erb | 9 ++++ .../test/using_layout_around_block.html.erb | 1 + actionview/test/fixtures/test/utf8.html.erb | 4 ++ actionview/test/fixtures/test/utf8_magic.html.erb | 5 +++ .../test/utf8_magic_with_bare_partial.html.erb | 5 +++ .../test/fixtures/test/with_html_partial.html.erb | 1 + .../test/fixtures/test/with_partial.html.erb | 1 + .../test/fixtures/test/with_partial.text.erb | 1 + .../test/fixtures/test/with_xml_template.html.erb | 1 + actionview/test/fixtures/topic.rb | 3 ++ actionview/test/fixtures/topics.yml | 22 +++++++++ actionview/test/fixtures/topics/_topic.html.erb | 1 + .../test/fixtures/translations/templates/array.erb | 1 + .../fixtures/translations/templates/default.erb | 1 + .../test/fixtures/translations/templates/found.erb | 1 + .../fixtures/translations/templates/missing.erb | 1 + actionview/test/fixtures/with_format.json.erb | 1 + 293 files changed, 708 insertions(+) create mode 100644 actionview/test/fixtures/_top_level_partial.html.erb create mode 100644 actionview/test/fixtures/_top_level_partial_only.erb create mode 100644 actionview/test/fixtures/alternate_helpers/foo_helper.rb create mode 100644 actionview/test/fixtures/bad_customers/_bad_customer.html.erb create mode 100644 actionview/test/fixtures/blog_public/.gitignore create mode 100644 actionview/test/fixtures/blog_public/blog.html create mode 100644 actionview/test/fixtures/blog_public/index.html create mode 100644 actionview/test/fixtures/blog_public/subdir/index.html create mode 100644 actionview/test/fixtures/comments/empty.de.html.erb create mode 100644 actionview/test/fixtures/comments/empty.html.builder create mode 100644 actionview/test/fixtures/comments/empty.html.erb create mode 100644 actionview/test/fixtures/comments/empty.xml.erb create mode 100644 actionview/test/fixtures/companies.yml create mode 100644 actionview/test/fixtures/company.rb create mode 100644 actionview/test/fixtures/custom_pattern/another.html.erb create mode 100644 actionview/test/fixtures/custom_pattern/html/another.erb create mode 100644 actionview/test/fixtures/custom_pattern/html/path.erb create mode 100644 actionview/test/fixtures/customers/_customer.html.erb create mode 100644 actionview/test/fixtures/db_definitions/sqlite.sql create mode 100644 actionview/test/fixtures/developer.rb create mode 100644 actionview/test/fixtures/developers.yml create mode 100644 actionview/test/fixtures/developers/_developer.erb create mode 100644 actionview/test/fixtures/developers_projects.yml create mode 100644 actionview/test/fixtures/digestor/comments/_comment.html.erb create mode 100644 actionview/test/fixtures/digestor/comments/_comments.html.erb create mode 100644 actionview/test/fixtures/digestor/events/_event.html.erb create mode 100644 actionview/test/fixtures/digestor/level/below/_header.html.erb create mode 100644 actionview/test/fixtures/digestor/level/below/index.html.erb create mode 100644 actionview/test/fixtures/digestor/messages/_form.html.erb create mode 100644 actionview/test/fixtures/digestor/messages/_header.html.erb create mode 100644 actionview/test/fixtures/digestor/messages/_message.html.erb create mode 100644 actionview/test/fixtures/digestor/messages/actions/_move.html.erb create mode 100644 actionview/test/fixtures/digestor/messages/edit.html.erb create mode 100644 actionview/test/fixtures/digestor/messages/index.html.erb create mode 100644 actionview/test/fixtures/digestor/messages/show.html.erb create mode 100644 actionview/test/fixtures/filter_test/implicit_actions/edit.html.erb create mode 100644 actionview/test/fixtures/filter_test/implicit_actions/show.html.erb create mode 100644 actionview/test/fixtures/fun/games/_form.erb create mode 100644 actionview/test/fixtures/fun/games/_game.erb create mode 100644 actionview/test/fixtures/fun/games/hello_world.erb create mode 100644 actionview/test/fixtures/fun/serious/games/_game.erb create mode 100644 actionview/test/fixtures/functional_caching/_partial.erb create mode 100644 actionview/test/fixtures/functional_caching/formatted_fragment_cached.html.erb create mode 100644 actionview/test/fixtures/functional_caching/formatted_fragment_cached.xml.builder create mode 100644 actionview/test/fixtures/functional_caching/fragment_cached.html.erb create mode 100644 actionview/test/fixtures/functional_caching/fragment_cached_without_digest.html.erb create mode 100644 actionview/test/fixtures/functional_caching/html_fragment_cached_with_partial.html.erb create mode 100644 actionview/test/fixtures/functional_caching/inline_fragment_cached.html.erb create mode 100644 actionview/test/fixtures/games/_game.erb create mode 100644 actionview/test/fixtures/good_customers/_good_customer.html.erb create mode 100644 actionview/test/fixtures/happy_path/render_action/hello_world.erb create mode 100644 actionview/test/fixtures/hello.html create mode 100644 actionview/test/fixtures/helpers/abc_helper.rb create mode 100644 actionview/test/fixtures/helpers/fun/games_helper.rb create mode 100644 actionview/test/fixtures/helpers/fun/pdf_helper.rb create mode 100644 actionview/test/fixtures/helpers/helpery_test_helper.rb create mode 100644 actionview/test/fixtures/helpers/just_me_helper.rb create mode 100644 actionview/test/fixtures/helpers/me_too_helper.rb create mode 100644 actionview/test/fixtures/helpers1_pack/pack1_helper.rb create mode 100644 actionview/test/fixtures/helpers2_pack/pack2_helper.rb create mode 100644 actionview/test/fixtures/layout_tests/alt/hello.erb create mode 100644 actionview/test/fixtures/layout_tests/alt/layouts/alt.erb create mode 100644 actionview/test/fixtures/layout_tests/layouts/controller_name_space/nested.erb create mode 100644 actionview/test/fixtures/layout_tests/layouts/item.erb create mode 100644 actionview/test/fixtures/layout_tests/layouts/layout_test.erb create mode 100644 actionview/test/fixtures/layout_tests/layouts/multiple_extensions.html.erb create mode 120000 actionview/test/fixtures/layout_tests/layouts/symlinked create mode 100644 actionview/test/fixtures/layout_tests/layouts/third_party_template_library.mab create mode 100644 actionview/test/fixtures/layout_tests/views/goodbye.erb create mode 100644 actionview/test/fixtures/layout_tests/views/hello.erb create mode 100644 actionview/test/fixtures/layouts/_column.html.erb create mode 100644 actionview/test/fixtures/layouts/_customers.erb create mode 100644 actionview/test/fixtures/layouts/_partial_and_yield.erb create mode 100644 actionview/test/fixtures/layouts/_yield_only.erb create mode 100644 actionview/test/fixtures/layouts/_yield_with_params.erb create mode 100644 actionview/test/fixtures/layouts/block_with_layout.erb create mode 100644 actionview/test/fixtures/layouts/builder.builder create mode 100644 actionview/test/fixtures/layouts/partial_with_layout.erb create mode 100644 actionview/test/fixtures/layouts/standard.html.erb create mode 100644 actionview/test/fixtures/layouts/streaming.erb create mode 100644 actionview/test/fixtures/layouts/talk_from_action.erb create mode 100644 actionview/test/fixtures/layouts/with_html_partial.html.erb create mode 100644 actionview/test/fixtures/layouts/xhr.html.erb create mode 100644 actionview/test/fixtures/layouts/yield.erb create mode 100644 actionview/test/fixtures/layouts/yield_with_render_inline_inside.erb create mode 100644 actionview/test/fixtures/layouts/yield_with_render_partial_inside.erb create mode 100644 actionview/test/fixtures/localized/hello_world.de.html create mode 100644 actionview/test/fixtures/localized/hello_world.en.html create mode 100644 actionview/test/fixtures/mascot.rb create mode 100644 actionview/test/fixtures/mascots.yml create mode 100644 actionview/test/fixtures/mascots/_mascot.html.erb create mode 100644 actionview/test/fixtures/multipart/binary_file create mode 100644 actionview/test/fixtures/multipart/boundary_problem_file create mode 100644 actionview/test/fixtures/multipart/bracketed_param create mode 100644 actionview/test/fixtures/multipart/bracketed_utf8_param create mode 100644 actionview/test/fixtures/multipart/empty create mode 100644 actionview/test/fixtures/multipart/hello.txt create mode 100644 actionview/test/fixtures/multipart/large_text_file create mode 100644 actionview/test/fixtures/multipart/mixed_files create mode 100644 actionview/test/fixtures/multipart/mona_lisa.jpg create mode 100644 actionview/test/fixtures/multipart/none create mode 100644 actionview/test/fixtures/multipart/single_parameter create mode 100644 actionview/test/fixtures/multipart/single_utf8_param create mode 100644 actionview/test/fixtures/multipart/text_file create mode 100644 actionview/test/fixtures/old_content_type/render_default_content_types_for_respond_to.xml.erb create mode 100644 actionview/test/fixtures/old_content_type/render_default_for_builder.builder create mode 100644 actionview/test/fixtures/old_content_type/render_default_for_erb.erb create mode 100644 actionview/test/fixtures/override/test/hello_world.erb create mode 100644 actionview/test/fixtures/override2/layouts/test/sub.erb create mode 100644 actionview/test/fixtures/plain_text.raw create mode 100644 actionview/test/fixtures/plain_text_with_characters.raw create mode 100644 actionview/test/fixtures/post_test/layouts/post.html.erb create mode 100644 actionview/test/fixtures/post_test/layouts/super_post.iphone.erb create mode 100644 actionview/test/fixtures/post_test/post/index.html.erb create mode 100644 actionview/test/fixtures/post_test/post/index.iphone.erb create mode 100644 actionview/test/fixtures/post_test/super_post/index.html.erb create mode 100644 actionview/test/fixtures/post_test/super_post/index.iphone.erb create mode 100644 actionview/test/fixtures/project.rb create mode 100644 actionview/test/fixtures/projects.yml create mode 100644 actionview/test/fixtures/projects/_project.erb create mode 100644 actionview/test/fixtures/public/.gitignore create mode 100644 actionview/test/fixtures/public/404.html create mode 100644 actionview/test/fixtures/public/500.da.html create mode 100644 actionview/test/fixtures/public/500.html create mode 100644 actionview/test/fixtures/public/elsewhere/cools.js create mode 100644 actionview/test/fixtures/public/elsewhere/file.css create mode 100644 actionview/test/fixtures/public/foo/bar.html create mode 100644 actionview/test/fixtures/public/foo/baz.css create mode 100644 actionview/test/fixtures/public/foo/index.html create mode 100644 "actionview/test/fixtures/public/foo/\343\201\223\343\202\223\343\201\253\343\201\241\343\201\257.html" create mode 100644 actionview/test/fixtures/public/index.html create mode 100644 actionview/test/fixtures/public/javascripts/application.js create mode 100644 actionview/test/fixtures/public/javascripts/bank.js create mode 100644 actionview/test/fixtures/public/javascripts/common.javascript create mode 100644 actionview/test/fixtures/public/javascripts/controls.js create mode 100644 actionview/test/fixtures/public/javascripts/dragdrop.js create mode 100644 actionview/test/fixtures/public/javascripts/effects.js create mode 100644 actionview/test/fixtures/public/javascripts/prototype.js create mode 100644 actionview/test/fixtures/public/javascripts/robber.js create mode 100644 actionview/test/fixtures/public/javascripts/subdir/subdir.js create mode 100644 actionview/test/fixtures/public/javascripts/version.1.0.js create mode 100644 actionview/test/fixtures/public/stylesheets/bank.css create mode 100644 actionview/test/fixtures/public/stylesheets/random.styles create mode 100644 actionview/test/fixtures/public/stylesheets/robber.css create mode 100644 actionview/test/fixtures/public/stylesheets/subdir/subdir.css create mode 100644 actionview/test/fixtures/public/stylesheets/version.1.0.css create mode 100644 actionview/test/fixtures/quiz/questions/_question.html.erb create mode 100644 actionview/test/fixtures/replies.yml create mode 100644 actionview/test/fixtures/replies/_reply.erb create mode 100644 actionview/test/fixtures/reply.rb create mode 100644 actionview/test/fixtures/respond_to/all_types_with_layout.html.erb create mode 100644 actionview/test/fixtures/respond_to/custom_constant_handling_without_block.mobile.erb create mode 100644 actionview/test/fixtures/respond_to/iphone_with_html_response_type.html.erb create mode 100644 actionview/test/fixtures/respond_to/iphone_with_html_response_type.iphone.erb create mode 100644 actionview/test/fixtures/respond_to/layouts/missing.html.erb create mode 100644 actionview/test/fixtures/respond_to/layouts/standard.html.erb create mode 100644 actionview/test/fixtures/respond_to/layouts/standard.iphone.erb create mode 100644 actionview/test/fixtures/respond_to/using_defaults.html.erb create mode 100644 actionview/test/fixtures/respond_to/using_defaults.xml.builder create mode 100644 actionview/test/fixtures/respond_to/using_defaults_with_all.html.erb create mode 100644 actionview/test/fixtures/respond_to/using_defaults_with_type_list.html.erb create mode 100644 actionview/test/fixtures/respond_to/using_defaults_with_type_list.xml.builder create mode 100644 actionview/test/fixtures/respond_with/edit.html.erb create mode 100644 actionview/test/fixtures/respond_with/new.html.erb create mode 100644 actionview/test/fixtures/respond_with/using_invalid_resource_with_template.xml.erb create mode 100644 actionview/test/fixtures/respond_with/using_options_with_template.xml.erb create mode 100644 actionview/test/fixtures/respond_with/using_resource.js.erb create mode 100644 actionview/test/fixtures/respond_with/using_resource_with_block.html.erb create mode 100644 actionview/test/fixtures/ruby_template.ruby create mode 100644 actionview/test/fixtures/scope/test/modgreet.erb create mode 100644 actionview/test/fixtures/session_autoload_test/session_autoload_test/foo.rb create mode 100644 actionview/test/fixtures/shared.html.erb create mode 100644 actionview/test/fixtures/star_star_mime/index.js.erb create mode 100644 actionview/test/fixtures/symlink_parent/symlinked_layout.erb create mode 100644 actionview/test/fixtures/test/_200.html.erb create mode 100644 actionview/test/fixtures/test/_b_layout_for_partial.html.erb create mode 100644 actionview/test/fixtures/test/_b_layout_for_partial_with_object.html.erb create mode 100644 actionview/test/fixtures/test/_b_layout_for_partial_with_object_counter.html.erb create mode 100644 actionview/test/fixtures/test/_changing_priority.html.erb create mode 100644 actionview/test/fixtures/test/_changing_priority.json.erb create mode 100644 actionview/test/fixtures/test/_content_tag_nested_in_content_tag.erb create mode 100644 actionview/test/fixtures/test/_counter.html.erb create mode 100644 actionview/test/fixtures/test/_customer.erb create mode 100644 actionview/test/fixtures/test/_customer_counter.erb create mode 100644 actionview/test/fixtures/test/_customer_counter_with_as.erb create mode 100644 actionview/test/fixtures/test/_customer_greeting.erb create mode 100644 actionview/test/fixtures/test/_customer_with_var.erb create mode 100644 actionview/test/fixtures/test/_directory/_partial_with_locales.html.erb create mode 100644 actionview/test/fixtures/test/_first_json_partial.json.erb create mode 100644 actionview/test/fixtures/test/_form.erb create mode 100644 actionview/test/fixtures/test/_from_helper.erb create mode 100644 actionview/test/fixtures/test/_hash_greeting.erb create mode 100644 actionview/test/fixtures/test/_hash_object.erb create mode 100644 actionview/test/fixtures/test/_hello.builder create mode 100644 actionview/test/fixtures/test/_json_change_priority.json.erb create mode 100644 actionview/test/fixtures/test/_label_with_block.erb create mode 100644 actionview/test/fixtures/test/_labelling_form.erb create mode 100644 actionview/test/fixtures/test/_layout_for_block_with_args.html.erb create mode 100644 actionview/test/fixtures/test/_layout_for_partial.html.erb create mode 100644 actionview/test/fixtures/test/_layout_with_partial_and_yield.html.erb create mode 100644 actionview/test/fixtures/test/_local_inspector.html.erb create mode 100644 actionview/test/fixtures/test/_object_inspector.erb create mode 100644 actionview/test/fixtures/test/_one.html.erb create mode 100644 actionview/test/fixtures/test/_partial.erb create mode 100644 actionview/test/fixtures/test/_partial.html.erb create mode 100644 actionview/test/fixtures/test/_partial.js.erb create mode 100644 actionview/test/fixtures/test/_partial_for_use_in_layout.html.erb create mode 100644 actionview/test/fixtures/test/_partial_html_erb.html.erb create mode 100644 actionview/test/fixtures/test/_partial_name_local_variable.erb create mode 100644 actionview/test/fixtures/test/_partial_only.erb create mode 100644 actionview/test/fixtures/test/_partial_only_html.html create mode 100644 actionview/test/fixtures/test/_partial_with_layout.erb create mode 100644 actionview/test/fixtures/test/_partial_with_layout_block_content.erb create mode 100644 actionview/test/fixtures/test/_partial_with_layout_block_partial.erb create mode 100644 actionview/test/fixtures/test/_partial_with_only_html_version.html.erb create mode 100644 actionview/test/fixtures/test/_partial_with_partial.erb create mode 100644 actionview/test/fixtures/test/_person.erb create mode 100644 actionview/test/fixtures/test/_raise.html.erb create mode 100644 actionview/test/fixtures/test/_raise_indentation.html.erb create mode 100644 actionview/test/fixtures/test/_second_json_partial.json.erb create mode 100644 actionview/test/fixtures/test/_two.html.erb create mode 100644 actionview/test/fixtures/test/_utf8_partial.html.erb create mode 100644 actionview/test/fixtures/test/_utf8_partial_magic.html.erb create mode 100644 actionview/test/fixtures/test/action_talk_to_layout.erb create mode 100644 actionview/test/fixtures/test/basic.html.erb create mode 100644 actionview/test/fixtures/test/calling_partial_with_layout.html.erb create mode 100644 actionview/test/fixtures/test/capturing.erb create mode 100644 actionview/test/fixtures/test/change_priority.html.erb create mode 100644 actionview/test/fixtures/test/content_for.erb create mode 100644 actionview/test/fixtures/test/content_for_concatenated.erb create mode 100644 actionview/test/fixtures/test/content_for_with_parameter.erb create mode 100644 actionview/test/fixtures/test/dont_pick_me create mode 100644 actionview/test/fixtures/test/dot.directory/render_file_with_ivar.erb create mode 100644 actionview/test/fixtures/test/formatted_html_erb.html.erb create mode 100644 actionview/test/fixtures/test/formatted_xml_erb.builder create mode 100644 actionview/test/fixtures/test/formatted_xml_erb.html.erb create mode 100644 actionview/test/fixtures/test/formatted_xml_erb.xml.erb create mode 100644 actionview/test/fixtures/test/greeting.html.erb create mode 100644 actionview/test/fixtures/test/greeting.xml.erb create mode 100644 actionview/test/fixtures/test/hello,world.erb create mode 100644 actionview/test/fixtures/test/hello.builder create mode 100644 actionview/test/fixtures/test/hello/hello.erb create mode 100644 actionview/test/fixtures/test/hello_world.da.html.erb create mode 100644 actionview/test/fixtures/test/hello_world.erb create mode 100644 actionview/test/fixtures/test/hello_world.pt-BR.html.erb create mode 100644 actionview/test/fixtures/test/hello_world_container.builder create mode 100644 actionview/test/fixtures/test/hello_world_from_rxml.builder create mode 100644 actionview/test/fixtures/test/hello_world_with_layout_false.erb create mode 100644 actionview/test/fixtures/test/hello_world_with_partial.html.erb create mode 100644 actionview/test/fixtures/test/hello_xml_world.builder create mode 100644 actionview/test/fixtures/test/html_template.html.erb create mode 100644 actionview/test/fixtures/test/hyphen-ated.erb create mode 100644 actionview/test/fixtures/test/implicit_content_type.atom.builder create mode 100644 actionview/test/fixtures/test/layout_render_file.erb create mode 100644 actionview/test/fixtures/test/layout_render_object.erb create mode 100644 actionview/test/fixtures/test/list.erb create mode 100644 actionview/test/fixtures/test/nested_layout.erb create mode 100644 actionview/test/fixtures/test/nested_streaming.erb create mode 100644 actionview/test/fixtures/test/non_erb_block_content_for.builder create mode 100644 actionview/test/fixtures/test/one.html.erb create mode 100644 actionview/test/fixtures/test/potential_conflicts.erb create mode 100644 actionview/test/fixtures/test/proper_block_detection.erb create mode 100644 actionview/test/fixtures/test/render_file_from_template.html.erb create mode 100644 actionview/test/fixtures/test/render_file_with_ivar.erb create mode 100644 actionview/test/fixtures/test/render_file_with_locals.erb create mode 100644 actionview/test/fixtures/test/render_file_with_locals_and_default.erb create mode 100644 actionview/test/fixtures/test/render_implicit_html_template_from_xhr_request.da.html.erb create mode 100644 actionview/test/fixtures/test/render_implicit_html_template_from_xhr_request.html.erb create mode 100644 actionview/test/fixtures/test/render_implicit_js_template_without_layout.js.erb create mode 100644 actionview/test/fixtures/test/render_partial_inside_directory.html.erb create mode 100644 actionview/test/fixtures/test/render_to_string_test.erb create mode 100644 actionview/test/fixtures/test/render_two_partials.html.erb create mode 100644 actionview/test/fixtures/test/streaming.erb create mode 100644 actionview/test/fixtures/test/streaming_buster.erb create mode 100644 actionview/test/fixtures/test/sub_template_raise.html.erb create mode 100644 actionview/test/fixtures/test/template.erb create mode 100644 actionview/test/fixtures/test/update_element_with_capture.erb create mode 100644 actionview/test/fixtures/test/using_layout_around_block.html.erb create mode 100644 actionview/test/fixtures/test/utf8.html.erb create mode 100644 actionview/test/fixtures/test/utf8_magic.html.erb create mode 100644 actionview/test/fixtures/test/utf8_magic_with_bare_partial.html.erb create mode 100644 actionview/test/fixtures/test/with_html_partial.html.erb create mode 100644 actionview/test/fixtures/test/with_partial.html.erb create mode 100644 actionview/test/fixtures/test/with_partial.text.erb create mode 100644 actionview/test/fixtures/test/with_xml_template.html.erb create mode 100644 actionview/test/fixtures/topic.rb create mode 100644 actionview/test/fixtures/topics.yml create mode 100644 actionview/test/fixtures/topics/_topic.html.erb create mode 100644 actionview/test/fixtures/translations/templates/array.erb create mode 100644 actionview/test/fixtures/translations/templates/default.erb create mode 100644 actionview/test/fixtures/translations/templates/found.erb create mode 100644 actionview/test/fixtures/translations/templates/missing.erb create mode 100644 actionview/test/fixtures/with_format.json.erb (limited to 'actionview/test/fixtures') diff --git a/actionview/test/fixtures/_top_level_partial.html.erb b/actionview/test/fixtures/_top_level_partial.html.erb new file mode 100644 index 0000000000..0b1c2e46e0 --- /dev/null +++ b/actionview/test/fixtures/_top_level_partial.html.erb @@ -0,0 +1 @@ +top level partial html \ No newline at end of file diff --git a/actionview/test/fixtures/_top_level_partial_only.erb b/actionview/test/fixtures/_top_level_partial_only.erb new file mode 100644 index 0000000000..44f25b61d0 --- /dev/null +++ b/actionview/test/fixtures/_top_level_partial_only.erb @@ -0,0 +1 @@ +top level partial \ No newline at end of file diff --git a/actionview/test/fixtures/alternate_helpers/foo_helper.rb b/actionview/test/fixtures/alternate_helpers/foo_helper.rb new file mode 100644 index 0000000000..2528584473 --- /dev/null +++ b/actionview/test/fixtures/alternate_helpers/foo_helper.rb @@ -0,0 +1,3 @@ +module FooHelper + redefine_method(:baz) {} +end diff --git a/actionview/test/fixtures/bad_customers/_bad_customer.html.erb b/actionview/test/fixtures/bad_customers/_bad_customer.html.erb new file mode 100644 index 0000000000..d22af431ec --- /dev/null +++ b/actionview/test/fixtures/bad_customers/_bad_customer.html.erb @@ -0,0 +1 @@ +<%= greeting %> bad customer: <%= bad_customer.name %><%= bad_customer_counter %> \ No newline at end of file diff --git a/actionview/test/fixtures/blog_public/.gitignore b/actionview/test/fixtures/blog_public/.gitignore new file mode 100644 index 0000000000..312e635ee6 --- /dev/null +++ b/actionview/test/fixtures/blog_public/.gitignore @@ -0,0 +1 @@ +absolute/* diff --git a/actionview/test/fixtures/blog_public/blog.html b/actionview/test/fixtures/blog_public/blog.html new file mode 100644 index 0000000000..79ad44c010 --- /dev/null +++ b/actionview/test/fixtures/blog_public/blog.html @@ -0,0 +1 @@ +/blog/blog.html \ No newline at end of file diff --git a/actionview/test/fixtures/blog_public/index.html b/actionview/test/fixtures/blog_public/index.html new file mode 100644 index 0000000000..2de3825481 --- /dev/null +++ b/actionview/test/fixtures/blog_public/index.html @@ -0,0 +1 @@ +/blog/index.html \ No newline at end of file diff --git a/actionview/test/fixtures/blog_public/subdir/index.html b/actionview/test/fixtures/blog_public/subdir/index.html new file mode 100644 index 0000000000..517bded335 --- /dev/null +++ b/actionview/test/fixtures/blog_public/subdir/index.html @@ -0,0 +1 @@ +/blog/subdir/index.html \ No newline at end of file diff --git a/actionview/test/fixtures/comments/empty.de.html.erb b/actionview/test/fixtures/comments/empty.de.html.erb new file mode 100644 index 0000000000..cffd90dd26 --- /dev/null +++ b/actionview/test/fixtures/comments/empty.de.html.erb @@ -0,0 +1 @@ +

Kein Kommentar

\ No newline at end of file diff --git a/actionview/test/fixtures/comments/empty.html.builder b/actionview/test/fixtures/comments/empty.html.builder new file mode 100644 index 0000000000..2b0c7207a3 --- /dev/null +++ b/actionview/test/fixtures/comments/empty.html.builder @@ -0,0 +1 @@ +xml.h1 'No Comment' \ No newline at end of file diff --git a/actionview/test/fixtures/comments/empty.html.erb b/actionview/test/fixtures/comments/empty.html.erb new file mode 100644 index 0000000000..827f3861de --- /dev/null +++ b/actionview/test/fixtures/comments/empty.html.erb @@ -0,0 +1 @@ +

No Comment

\ No newline at end of file diff --git a/actionview/test/fixtures/comments/empty.xml.erb b/actionview/test/fixtures/comments/empty.xml.erb new file mode 100644 index 0000000000..db1027cd7d --- /dev/null +++ b/actionview/test/fixtures/comments/empty.xml.erb @@ -0,0 +1 @@ +No Comment \ No newline at end of file diff --git a/actionview/test/fixtures/companies.yml b/actionview/test/fixtures/companies.yml new file mode 100644 index 0000000000..ed2992e0b1 --- /dev/null +++ b/actionview/test/fixtures/companies.yml @@ -0,0 +1,24 @@ +thirty_seven_signals: + id: 1 + name: 37Signals + rating: 4 + +TextDrive: + id: 2 + name: TextDrive + rating: 4 + +PlanetArgon: + id: 3 + name: Planet Argon + rating: 4 + +Google: + id: 4 + name: Google + rating: 4 + +Ionist: + id: 5 + name: Ioni.st + rating: 4 \ No newline at end of file diff --git a/actionview/test/fixtures/company.rb b/actionview/test/fixtures/company.rb new file mode 100644 index 0000000000..f3ac3642fa --- /dev/null +++ b/actionview/test/fixtures/company.rb @@ -0,0 +1,9 @@ +class Company < ActiveRecord::Base + has_one :mascot + self.sequence_name = :companies_nonstd_seq + + validates_presence_of :name + def validate + errors.add('rating', 'rating should not be 2') if rating == 2 + end +end diff --git a/actionview/test/fixtures/custom_pattern/another.html.erb b/actionview/test/fixtures/custom_pattern/another.html.erb new file mode 100644 index 0000000000..6d7f3bafbb --- /dev/null +++ b/actionview/test/fixtures/custom_pattern/another.html.erb @@ -0,0 +1 @@ +Hello custom patterns! \ No newline at end of file diff --git a/actionview/test/fixtures/custom_pattern/html/another.erb b/actionview/test/fixtures/custom_pattern/html/another.erb new file mode 100644 index 0000000000..dbd7e96ab6 --- /dev/null +++ b/actionview/test/fixtures/custom_pattern/html/another.erb @@ -0,0 +1 @@ +Another template! \ No newline at end of file diff --git a/actionview/test/fixtures/custom_pattern/html/path.erb b/actionview/test/fixtures/custom_pattern/html/path.erb new file mode 100644 index 0000000000..6d7f3bafbb --- /dev/null +++ b/actionview/test/fixtures/custom_pattern/html/path.erb @@ -0,0 +1 @@ +Hello custom patterns! \ No newline at end of file diff --git a/actionview/test/fixtures/customers/_customer.html.erb b/actionview/test/fixtures/customers/_customer.html.erb new file mode 100644 index 0000000000..483571e22a --- /dev/null +++ b/actionview/test/fixtures/customers/_customer.html.erb @@ -0,0 +1 @@ +<%= greeting %>: <%= customer.name %> \ No newline at end of file diff --git a/actionview/test/fixtures/db_definitions/sqlite.sql b/actionview/test/fixtures/db_definitions/sqlite.sql new file mode 100644 index 0000000000..99df4b3e61 --- /dev/null +++ b/actionview/test/fixtures/db_definitions/sqlite.sql @@ -0,0 +1,49 @@ +CREATE TABLE 'companies' ( + 'id' INTEGER PRIMARY KEY NOT NULL, + 'name' TEXT DEFAULT NULL, + 'rating' INTEGER DEFAULT 1 +); + +CREATE TABLE 'replies' ( + 'id' INTEGER PRIMARY KEY NOT NULL, + 'content' text, + 'created_at' datetime, + 'updated_at' datetime, + 'topic_id' integer, + 'developer_id' integer +); + +CREATE TABLE 'topics' ( + 'id' INTEGER PRIMARY KEY NOT NULL, + 'title' varchar(255), + 'subtitle' varchar(255), + 'content' text, + 'created_at' datetime, + 'updated_at' datetime +); + +CREATE TABLE 'developers' ( + 'id' INTEGER PRIMARY KEY NOT NULL, + 'name' TEXT DEFAULT NULL, + 'salary' INTEGER DEFAULT 70000, + 'created_at' DATETIME DEFAULT NULL, + 'updated_at' DATETIME DEFAULT NULL +); + +CREATE TABLE 'projects' ( + 'id' INTEGER PRIMARY KEY NOT NULL, + 'name' TEXT DEFAULT NULL +); + +CREATE TABLE 'developers_projects' ( + 'developer_id' INTEGER NOT NULL, + 'project_id' INTEGER NOT NULL, + 'joined_on' DATE DEFAULT NULL, + 'access_level' INTEGER DEFAULT 1 +); + +CREATE TABLE 'mascots' ( + 'id' INTEGER PRIMARY KEY NOT NULL, + 'company_id' INTEGER NOT NULL, + 'name' TEXT DEFAULT NULL +); \ No newline at end of file diff --git a/actionview/test/fixtures/developer.rb b/actionview/test/fixtures/developer.rb new file mode 100644 index 0000000000..4941463015 --- /dev/null +++ b/actionview/test/fixtures/developer.rb @@ -0,0 +1,10 @@ +class Developer < ActiveRecord::Base + has_and_belongs_to_many :projects + has_many :replies + has_many :topics, :through => :replies + accepts_nested_attributes_for :projects +end + +class DeVeLoPeR < ActiveRecord::Base + self.table_name = "developers" +end diff --git a/actionview/test/fixtures/developers.yml b/actionview/test/fixtures/developers.yml new file mode 100644 index 0000000000..3656564f63 --- /dev/null +++ b/actionview/test/fixtures/developers.yml @@ -0,0 +1,21 @@ +david: + id: 1 + name: David + salary: 80000 + +jamis: + id: 2 + name: Jamis + salary: 150000 + +<% (3..10).each do |digit| %> +dev_<%= digit %>: + id: <%= digit %> + name: fixture_<%= digit %> + salary: 100000 +<% end %> + +poor_jamis: + id: 11 + name: Jamis + salary: 9000 \ No newline at end of file diff --git a/actionview/test/fixtures/developers/_developer.erb b/actionview/test/fixtures/developers/_developer.erb new file mode 100644 index 0000000000..904a3137e7 --- /dev/null +++ b/actionview/test/fixtures/developers/_developer.erb @@ -0,0 +1 @@ +<%= developer.name %> \ No newline at end of file diff --git a/actionview/test/fixtures/developers_projects.yml b/actionview/test/fixtures/developers_projects.yml new file mode 100644 index 0000000000..cee359c7cf --- /dev/null +++ b/actionview/test/fixtures/developers_projects.yml @@ -0,0 +1,13 @@ +david_action_controller: + developer_id: 1 + project_id: 2 + joined_on: 2004-10-10 + +david_active_record: + developer_id: 1 + project_id: 1 + joined_on: 2004-10-10 + +jamis_active_record: + developer_id: 2 + project_id: 1 \ No newline at end of file diff --git a/actionview/test/fixtures/digestor/comments/_comment.html.erb b/actionview/test/fixtures/digestor/comments/_comment.html.erb new file mode 100644 index 0000000000..f172e749da --- /dev/null +++ b/actionview/test/fixtures/digestor/comments/_comment.html.erb @@ -0,0 +1 @@ +Great story, bro! diff --git a/actionview/test/fixtures/digestor/comments/_comments.html.erb b/actionview/test/fixtures/digestor/comments/_comments.html.erb new file mode 100644 index 0000000000..c28646a283 --- /dev/null +++ b/actionview/test/fixtures/digestor/comments/_comments.html.erb @@ -0,0 +1 @@ +<%= render partial: "comments/comment", collection: commentable.comments %> diff --git a/actionview/test/fixtures/digestor/events/_event.html.erb b/actionview/test/fixtures/digestor/events/_event.html.erb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/actionview/test/fixtures/digestor/level/below/_header.html.erb b/actionview/test/fixtures/digestor/level/below/_header.html.erb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/actionview/test/fixtures/digestor/level/below/index.html.erb b/actionview/test/fixtures/digestor/level/below/index.html.erb new file mode 100644 index 0000000000..b92f49a8f8 --- /dev/null +++ b/actionview/test/fixtures/digestor/level/below/index.html.erb @@ -0,0 +1 @@ +<%= render partial: "header" %> diff --git a/actionview/test/fixtures/digestor/messages/_form.html.erb b/actionview/test/fixtures/digestor/messages/_form.html.erb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/actionview/test/fixtures/digestor/messages/_header.html.erb b/actionview/test/fixtures/digestor/messages/_header.html.erb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/actionview/test/fixtures/digestor/messages/_message.html.erb b/actionview/test/fixtures/digestor/messages/_message.html.erb new file mode 100644 index 0000000000..406a0fb848 --- /dev/null +++ b/actionview/test/fixtures/digestor/messages/_message.html.erb @@ -0,0 +1 @@ +THIS BE WHERE THEM MESSAGE GO, YO! \ No newline at end of file diff --git a/actionview/test/fixtures/digestor/messages/actions/_move.html.erb b/actionview/test/fixtures/digestor/messages/actions/_move.html.erb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/actionview/test/fixtures/digestor/messages/edit.html.erb b/actionview/test/fixtures/digestor/messages/edit.html.erb new file mode 100644 index 0000000000..a9e0a88e32 --- /dev/null +++ b/actionview/test/fixtures/digestor/messages/edit.html.erb @@ -0,0 +1,5 @@ +<%= render "header" %> +<%= render partial: "form" %> +<%= render @message %> +<%= render ( @message.events ) %> +<%= render :partial => "comments/comment", :collection => @message.comments %> diff --git a/actionview/test/fixtures/digestor/messages/index.html.erb b/actionview/test/fixtures/digestor/messages/index.html.erb new file mode 100644 index 0000000000..1937b652e4 --- /dev/null +++ b/actionview/test/fixtures/digestor/messages/index.html.erb @@ -0,0 +1,2 @@ +<%= render @messages %> +<%= render @events %> diff --git a/actionview/test/fixtures/digestor/messages/show.html.erb b/actionview/test/fixtures/digestor/messages/show.html.erb new file mode 100644 index 0000000000..51b3b61e8e --- /dev/null +++ b/actionview/test/fixtures/digestor/messages/show.html.erb @@ -0,0 +1,13 @@ +<%# Template Dependency: messages/message %> +<%= render "header" %> +<%= render "comments/comments" %> + +<%= render "messages/actions/move" %> + +<%= render @message.history.events %> + +<%# render "something_missing" %> + +<% + # Template Dependency: messages/form +%> \ No newline at end of file diff --git a/actionview/test/fixtures/filter_test/implicit_actions/edit.html.erb b/actionview/test/fixtures/filter_test/implicit_actions/edit.html.erb new file mode 100644 index 0000000000..8491ab9f80 --- /dev/null +++ b/actionview/test/fixtures/filter_test/implicit_actions/edit.html.erb @@ -0,0 +1 @@ +edit \ No newline at end of file diff --git a/actionview/test/fixtures/filter_test/implicit_actions/show.html.erb b/actionview/test/fixtures/filter_test/implicit_actions/show.html.erb new file mode 100644 index 0000000000..0a89cecf05 --- /dev/null +++ b/actionview/test/fixtures/filter_test/implicit_actions/show.html.erb @@ -0,0 +1 @@ +show \ No newline at end of file diff --git a/actionview/test/fixtures/fun/games/_form.erb b/actionview/test/fixtures/fun/games/_form.erb new file mode 100644 index 0000000000..01107f1cb2 --- /dev/null +++ b/actionview/test/fixtures/fun/games/_form.erb @@ -0,0 +1 @@ +<%= form.label :title %> diff --git a/actionview/test/fixtures/fun/games/_game.erb b/actionview/test/fixtures/fun/games/_game.erb new file mode 100644 index 0000000000..f0f542ff92 --- /dev/null +++ b/actionview/test/fixtures/fun/games/_game.erb @@ -0,0 +1 @@ +Fun <%= game.name %> diff --git a/actionview/test/fixtures/fun/games/hello_world.erb b/actionview/test/fixtures/fun/games/hello_world.erb new file mode 100644 index 0000000000..1ebfbe2539 --- /dev/null +++ b/actionview/test/fixtures/fun/games/hello_world.erb @@ -0,0 +1 @@ +Living in a nested world \ No newline at end of file diff --git a/actionview/test/fixtures/fun/serious/games/_game.erb b/actionview/test/fixtures/fun/serious/games/_game.erb new file mode 100644 index 0000000000..523bc55bd7 --- /dev/null +++ b/actionview/test/fixtures/fun/serious/games/_game.erb @@ -0,0 +1 @@ +Serious <%= game.name %> diff --git a/actionview/test/fixtures/functional_caching/_partial.erb b/actionview/test/fixtures/functional_caching/_partial.erb new file mode 100644 index 0000000000..ec0da7cf50 --- /dev/null +++ b/actionview/test/fixtures/functional_caching/_partial.erb @@ -0,0 +1,3 @@ +<% cache do %> +Old fragment caching in a partial +<% end %> diff --git a/actionview/test/fixtures/functional_caching/formatted_fragment_cached.html.erb b/actionview/test/fixtures/functional_caching/formatted_fragment_cached.html.erb new file mode 100644 index 0000000000..9b88fa1f5a --- /dev/null +++ b/actionview/test/fixtures/functional_caching/formatted_fragment_cached.html.erb @@ -0,0 +1,3 @@ + +<%= cache do %>

ERB

<% end %> + diff --git a/actionview/test/fixtures/functional_caching/formatted_fragment_cached.xml.builder b/actionview/test/fixtures/functional_caching/formatted_fragment_cached.xml.builder new file mode 100644 index 0000000000..efdcc28e0f --- /dev/null +++ b/actionview/test/fixtures/functional_caching/formatted_fragment_cached.xml.builder @@ -0,0 +1,5 @@ +xml.body do + cache do + xml.p "Builder" + end +end diff --git a/actionview/test/fixtures/functional_caching/fragment_cached.html.erb b/actionview/test/fixtures/functional_caching/fragment_cached.html.erb new file mode 100644 index 0000000000..fa5e6bd318 --- /dev/null +++ b/actionview/test/fixtures/functional_caching/fragment_cached.html.erb @@ -0,0 +1,3 @@ +Hello +<%= cache do %>This bit's fragment cached<% end %> +<%= 'Ciao' %> diff --git a/actionview/test/fixtures/functional_caching/fragment_cached_without_digest.html.erb b/actionview/test/fixtures/functional_caching/fragment_cached_without_digest.html.erb new file mode 100644 index 0000000000..3125583a28 --- /dev/null +++ b/actionview/test/fixtures/functional_caching/fragment_cached_without_digest.html.erb @@ -0,0 +1,3 @@ + +<%= cache 'nodigest', skip_digest: true do %>

ERB

<% end %> + diff --git a/actionview/test/fixtures/functional_caching/html_fragment_cached_with_partial.html.erb b/actionview/test/fixtures/functional_caching/html_fragment_cached_with_partial.html.erb new file mode 100644 index 0000000000..a9462d3499 --- /dev/null +++ b/actionview/test/fixtures/functional_caching/html_fragment_cached_with_partial.html.erb @@ -0,0 +1 @@ +<%= render :partial => 'partial' %> \ No newline at end of file diff --git a/actionview/test/fixtures/functional_caching/inline_fragment_cached.html.erb b/actionview/test/fixtures/functional_caching/inline_fragment_cached.html.erb new file mode 100644 index 0000000000..41647f1404 --- /dev/null +++ b/actionview/test/fixtures/functional_caching/inline_fragment_cached.html.erb @@ -0,0 +1,2 @@ +<%= render :inline => 'Some inline content' %> +<%= cache do %>Some cached content<% end %> diff --git a/actionview/test/fixtures/games/_game.erb b/actionview/test/fixtures/games/_game.erb new file mode 100644 index 0000000000..1aeb81fcba --- /dev/null +++ b/actionview/test/fixtures/games/_game.erb @@ -0,0 +1 @@ +Just <%= game.name %> diff --git a/actionview/test/fixtures/good_customers/_good_customer.html.erb b/actionview/test/fixtures/good_customers/_good_customer.html.erb new file mode 100644 index 0000000000..a2d97ebc6d --- /dev/null +++ b/actionview/test/fixtures/good_customers/_good_customer.html.erb @@ -0,0 +1 @@ +<%= greeting %> good customer: <%= good_customer.name %><%= good_customer_counter %> \ No newline at end of file diff --git a/actionview/test/fixtures/happy_path/render_action/hello_world.erb b/actionview/test/fixtures/happy_path/render_action/hello_world.erb new file mode 100644 index 0000000000..6769dd60bd --- /dev/null +++ b/actionview/test/fixtures/happy_path/render_action/hello_world.erb @@ -0,0 +1 @@ +Hello world! \ No newline at end of file diff --git a/actionview/test/fixtures/hello.html b/actionview/test/fixtures/hello.html new file mode 100644 index 0000000000..6769dd60bd --- /dev/null +++ b/actionview/test/fixtures/hello.html @@ -0,0 +1 @@ +Hello world! \ No newline at end of file diff --git a/actionview/test/fixtures/helpers/abc_helper.rb b/actionview/test/fixtures/helpers/abc_helper.rb new file mode 100644 index 0000000000..7104ff3730 --- /dev/null +++ b/actionview/test/fixtures/helpers/abc_helper.rb @@ -0,0 +1,5 @@ +module AbcHelper + def bare_a() end + def bare_b() end + def bare_c() end +end diff --git a/actionview/test/fixtures/helpers/fun/games_helper.rb b/actionview/test/fixtures/helpers/fun/games_helper.rb new file mode 100644 index 0000000000..3b7adce086 --- /dev/null +++ b/actionview/test/fixtures/helpers/fun/games_helper.rb @@ -0,0 +1,5 @@ +module Fun + module GamesHelper + def stratego() "Iz guuut!" end + end +end \ No newline at end of file diff --git a/actionview/test/fixtures/helpers/fun/pdf_helper.rb b/actionview/test/fixtures/helpers/fun/pdf_helper.rb new file mode 100644 index 0000000000..0171be8500 --- /dev/null +++ b/actionview/test/fixtures/helpers/fun/pdf_helper.rb @@ -0,0 +1,5 @@ +module Fun + module PdfHelper + def foobar() 'baz' end + end +end diff --git a/actionview/test/fixtures/helpers/helpery_test_helper.rb b/actionview/test/fixtures/helpers/helpery_test_helper.rb new file mode 100644 index 0000000000..a4f2951efa --- /dev/null +++ b/actionview/test/fixtures/helpers/helpery_test_helper.rb @@ -0,0 +1,5 @@ +module HelperyTestHelper + def helpery_test + "Default" + end +end diff --git a/actionview/test/fixtures/helpers/just_me_helper.rb b/actionview/test/fixtures/helpers/just_me_helper.rb new file mode 100644 index 0000000000..b140a7b9b4 --- /dev/null +++ b/actionview/test/fixtures/helpers/just_me_helper.rb @@ -0,0 +1,3 @@ +module JustMeHelper + def me() "mine!" end +end \ No newline at end of file diff --git a/actionview/test/fixtures/helpers/me_too_helper.rb b/actionview/test/fixtures/helpers/me_too_helper.rb new file mode 100644 index 0000000000..ce56042143 --- /dev/null +++ b/actionview/test/fixtures/helpers/me_too_helper.rb @@ -0,0 +1,3 @@ +module MeTooHelper + def me() "me too!" end +end \ No newline at end of file diff --git a/actionview/test/fixtures/helpers1_pack/pack1_helper.rb b/actionview/test/fixtures/helpers1_pack/pack1_helper.rb new file mode 100644 index 0000000000..9faa427736 --- /dev/null +++ b/actionview/test/fixtures/helpers1_pack/pack1_helper.rb @@ -0,0 +1,5 @@ +module Pack1Helper + def conflicting_helper + "pack1" + end +end diff --git a/actionview/test/fixtures/helpers2_pack/pack2_helper.rb b/actionview/test/fixtures/helpers2_pack/pack2_helper.rb new file mode 100644 index 0000000000..cf56697dfb --- /dev/null +++ b/actionview/test/fixtures/helpers2_pack/pack2_helper.rb @@ -0,0 +1,5 @@ +module Pack2Helper + def conflicting_helper + "pack2" + end +end diff --git a/actionview/test/fixtures/layout_tests/alt/hello.erb b/actionview/test/fixtures/layout_tests/alt/hello.erb new file mode 100644 index 0000000000..1055c36659 --- /dev/null +++ b/actionview/test/fixtures/layout_tests/alt/hello.erb @@ -0,0 +1 @@ +alt/hello.erb diff --git a/actionview/test/fixtures/layout_tests/alt/layouts/alt.erb b/actionview/test/fixtures/layout_tests/alt/layouts/alt.erb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/actionview/test/fixtures/layout_tests/layouts/controller_name_space/nested.erb b/actionview/test/fixtures/layout_tests/layouts/controller_name_space/nested.erb new file mode 100644 index 0000000000..121bc079a1 --- /dev/null +++ b/actionview/test/fixtures/layout_tests/layouts/controller_name_space/nested.erb @@ -0,0 +1 @@ +controller_name_space/nested.erb <%= yield %> \ No newline at end of file diff --git a/actionview/test/fixtures/layout_tests/layouts/item.erb b/actionview/test/fixtures/layout_tests/layouts/item.erb new file mode 100644 index 0000000000..60f04d77d5 --- /dev/null +++ b/actionview/test/fixtures/layout_tests/layouts/item.erb @@ -0,0 +1 @@ +item.erb <%= yield %> \ No newline at end of file diff --git a/actionview/test/fixtures/layout_tests/layouts/layout_test.erb b/actionview/test/fixtures/layout_tests/layouts/layout_test.erb new file mode 100644 index 0000000000..b74ac0840d --- /dev/null +++ b/actionview/test/fixtures/layout_tests/layouts/layout_test.erb @@ -0,0 +1 @@ +layout_test.erb <%= yield %> \ No newline at end of file diff --git a/actionview/test/fixtures/layout_tests/layouts/multiple_extensions.html.erb b/actionview/test/fixtures/layout_tests/layouts/multiple_extensions.html.erb new file mode 100644 index 0000000000..3b65e54f9c --- /dev/null +++ b/actionview/test/fixtures/layout_tests/layouts/multiple_extensions.html.erb @@ -0,0 +1 @@ +multiple_extensions.html.erb <%= yield %> diff --git a/actionview/test/fixtures/layout_tests/layouts/symlinked b/actionview/test/fixtures/layout_tests/layouts/symlinked new file mode 120000 index 0000000000..0ddc1154ab --- /dev/null +++ b/actionview/test/fixtures/layout_tests/layouts/symlinked @@ -0,0 +1 @@ +../../symlink_parent \ No newline at end of file diff --git a/actionview/test/fixtures/layout_tests/layouts/third_party_template_library.mab b/actionview/test/fixtures/layout_tests/layouts/third_party_template_library.mab new file mode 100644 index 0000000000..fcee620d82 --- /dev/null +++ b/actionview/test/fixtures/layout_tests/layouts/third_party_template_library.mab @@ -0,0 +1 @@ +layouts/third_party_template_library.mab \ No newline at end of file diff --git a/actionview/test/fixtures/layout_tests/views/goodbye.erb b/actionview/test/fixtures/layout_tests/views/goodbye.erb new file mode 100644 index 0000000000..4ee911188e --- /dev/null +++ b/actionview/test/fixtures/layout_tests/views/goodbye.erb @@ -0,0 +1 @@ +hello.erb \ No newline at end of file diff --git a/actionview/test/fixtures/layout_tests/views/hello.erb b/actionview/test/fixtures/layout_tests/views/hello.erb new file mode 100644 index 0000000000..4ee911188e --- /dev/null +++ b/actionview/test/fixtures/layout_tests/views/hello.erb @@ -0,0 +1 @@ +hello.erb \ No newline at end of file diff --git a/actionview/test/fixtures/layouts/_column.html.erb b/actionview/test/fixtures/layouts/_column.html.erb new file mode 100644 index 0000000000..96db002b8a --- /dev/null +++ b/actionview/test/fixtures/layouts/_column.html.erb @@ -0,0 +1,2 @@ +
<%= yield :column %>
+
<%= yield %>
\ No newline at end of file diff --git a/actionview/test/fixtures/layouts/_customers.erb b/actionview/test/fixtures/layouts/_customers.erb new file mode 100644 index 0000000000..ae63f13cd3 --- /dev/null +++ b/actionview/test/fixtures/layouts/_customers.erb @@ -0,0 +1 @@ +<%= yield Struct.new(:name).new("David") %> \ No newline at end of file diff --git a/actionview/test/fixtures/layouts/_partial_and_yield.erb b/actionview/test/fixtures/layouts/_partial_and_yield.erb new file mode 100644 index 0000000000..74cc428ffa --- /dev/null +++ b/actionview/test/fixtures/layouts/_partial_and_yield.erb @@ -0,0 +1,2 @@ +<%= render :partial => 'test/partial' %> +<%= yield %> diff --git a/actionview/test/fixtures/layouts/_yield_only.erb b/actionview/test/fixtures/layouts/_yield_only.erb new file mode 100644 index 0000000000..37f0bddbd7 --- /dev/null +++ b/actionview/test/fixtures/layouts/_yield_only.erb @@ -0,0 +1 @@ +<%= yield %> diff --git a/actionview/test/fixtures/layouts/_yield_with_params.erb b/actionview/test/fixtures/layouts/_yield_with_params.erb new file mode 100644 index 0000000000..68e6557fb8 --- /dev/null +++ b/actionview/test/fixtures/layouts/_yield_with_params.erb @@ -0,0 +1 @@ +<%= yield 'Yield!' %> diff --git a/actionview/test/fixtures/layouts/block_with_layout.erb b/actionview/test/fixtures/layouts/block_with_layout.erb new file mode 100644 index 0000000000..73ac833e52 --- /dev/null +++ b/actionview/test/fixtures/layouts/block_with_layout.erb @@ -0,0 +1,3 @@ +<%= render(:layout => "layout_for_partial", :locals => { :name => "Anthony" }) do %>Inside from first block in layout<% "Return value should be discarded" %><% end %> +<%= yield %> +<%= render(:layout => "layout_for_partial", :locals => { :name => "Ramm" }) do %>Inside from second block in layout<% end %> diff --git a/actionview/test/fixtures/layouts/builder.builder b/actionview/test/fixtures/layouts/builder.builder new file mode 100644 index 0000000000..7c7d4b2dd1 --- /dev/null +++ b/actionview/test/fixtures/layouts/builder.builder @@ -0,0 +1,3 @@ +xml.wrapper do + xml << yield +end \ No newline at end of file diff --git a/actionview/test/fixtures/layouts/partial_with_layout.erb b/actionview/test/fixtures/layouts/partial_with_layout.erb new file mode 100644 index 0000000000..a0349d731e --- /dev/null +++ b/actionview/test/fixtures/layouts/partial_with_layout.erb @@ -0,0 +1,3 @@ +<%= render( :layout => "layout_for_partial", :partial => "partial_for_use_in_layout", :locals => {:name => 'Anthony' } ) %> +<%= yield %> +<%= render( :layout => "layout_for_partial", :partial => "partial_for_use_in_layout", :locals => {:name => 'Ramm' } ) %> \ No newline at end of file diff --git a/actionview/test/fixtures/layouts/standard.html.erb b/actionview/test/fixtures/layouts/standard.html.erb new file mode 100644 index 0000000000..5e6c24fe39 --- /dev/null +++ b/actionview/test/fixtures/layouts/standard.html.erb @@ -0,0 +1 @@ +<%= yield %><%= @variable_for_layout %> \ No newline at end of file diff --git a/actionview/test/fixtures/layouts/streaming.erb b/actionview/test/fixtures/layouts/streaming.erb new file mode 100644 index 0000000000..d3f896a6ca --- /dev/null +++ b/actionview/test/fixtures/layouts/streaming.erb @@ -0,0 +1,4 @@ +<%= yield :header -%> +<%= yield -%> +<%= yield :footer -%> +<%= yield(:unknown).presence || "." -%> \ No newline at end of file diff --git a/actionview/test/fixtures/layouts/talk_from_action.erb b/actionview/test/fixtures/layouts/talk_from_action.erb new file mode 100644 index 0000000000..bf53fdb785 --- /dev/null +++ b/actionview/test/fixtures/layouts/talk_from_action.erb @@ -0,0 +1,2 @@ +<%= @title || yield(:title) %> +<%= yield -%> \ No newline at end of file diff --git a/actionview/test/fixtures/layouts/with_html_partial.html.erb b/actionview/test/fixtures/layouts/with_html_partial.html.erb new file mode 100644 index 0000000000..fd2896aeaa --- /dev/null +++ b/actionview/test/fixtures/layouts/with_html_partial.html.erb @@ -0,0 +1 @@ +<%= render :partial => "partial_only_html" %><%= yield %> diff --git a/actionview/test/fixtures/layouts/xhr.html.erb b/actionview/test/fixtures/layouts/xhr.html.erb new file mode 100644 index 0000000000..85285324ec --- /dev/null +++ b/actionview/test/fixtures/layouts/xhr.html.erb @@ -0,0 +1,2 @@ +XHR! +<%= yield %> \ No newline at end of file diff --git a/actionview/test/fixtures/layouts/yield.erb b/actionview/test/fixtures/layouts/yield.erb new file mode 100644 index 0000000000..482dc9022e --- /dev/null +++ b/actionview/test/fixtures/layouts/yield.erb @@ -0,0 +1,2 @@ +<%= yield :title %> +<%= yield %> diff --git a/actionview/test/fixtures/layouts/yield_with_render_inline_inside.erb b/actionview/test/fixtures/layouts/yield_with_render_inline_inside.erb new file mode 100644 index 0000000000..7298d79690 --- /dev/null +++ b/actionview/test/fixtures/layouts/yield_with_render_inline_inside.erb @@ -0,0 +1,2 @@ +<%= render :inline => 'welcome' %> +<%= yield %> diff --git a/actionview/test/fixtures/layouts/yield_with_render_partial_inside.erb b/actionview/test/fixtures/layouts/yield_with_render_partial_inside.erb new file mode 100644 index 0000000000..74cc428ffa --- /dev/null +++ b/actionview/test/fixtures/layouts/yield_with_render_partial_inside.erb @@ -0,0 +1,2 @@ +<%= render :partial => 'test/partial' %> +<%= yield %> diff --git a/actionview/test/fixtures/localized/hello_world.de.html b/actionview/test/fixtures/localized/hello_world.de.html new file mode 100644 index 0000000000..4727d7a7e0 --- /dev/null +++ b/actionview/test/fixtures/localized/hello_world.de.html @@ -0,0 +1 @@ +Gutten Tag \ No newline at end of file diff --git a/actionview/test/fixtures/localized/hello_world.en.html b/actionview/test/fixtures/localized/hello_world.en.html new file mode 100644 index 0000000000..5e1c309dae --- /dev/null +++ b/actionview/test/fixtures/localized/hello_world.en.html @@ -0,0 +1 @@ +Hello World \ No newline at end of file diff --git a/actionview/test/fixtures/mascot.rb b/actionview/test/fixtures/mascot.rb new file mode 100644 index 0000000000..f9f1448b8f --- /dev/null +++ b/actionview/test/fixtures/mascot.rb @@ -0,0 +1,3 @@ +class Mascot < ActiveRecord::Base + belongs_to :company +end \ No newline at end of file diff --git a/actionview/test/fixtures/mascots.yml b/actionview/test/fixtures/mascots.yml new file mode 100644 index 0000000000..17b7dff454 --- /dev/null +++ b/actionview/test/fixtures/mascots.yml @@ -0,0 +1,4 @@ +upload_bird: + id: 1 + company_id: 1 + name: The Upload Bird \ No newline at end of file diff --git a/actionview/test/fixtures/mascots/_mascot.html.erb b/actionview/test/fixtures/mascots/_mascot.html.erb new file mode 100644 index 0000000000..432773a1da --- /dev/null +++ b/actionview/test/fixtures/mascots/_mascot.html.erb @@ -0,0 +1 @@ +<%= mascot.name %> \ No newline at end of file diff --git a/actionview/test/fixtures/multipart/binary_file b/actionview/test/fixtures/multipart/binary_file new file mode 100644 index 0000000000..556187ac1f Binary files /dev/null and b/actionview/test/fixtures/multipart/binary_file differ diff --git a/actionview/test/fixtures/multipart/boundary_problem_file b/actionview/test/fixtures/multipart/boundary_problem_file new file mode 100644 index 0000000000..e81c4d8f1b --- /dev/null +++ b/actionview/test/fixtures/multipart/boundary_problem_file @@ -0,0 +1,10 @@ +--AaB03x +Content-Disposition: form-data; name="file"; filename="file.txt" +Content-Type: text/plain + +bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb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bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb +--AaB03x +Content-Disposition: form-data; name="foo" + +bar +--AaB03x-- diff --git a/actionview/test/fixtures/multipart/bracketed_param b/actionview/test/fixtures/multipart/bracketed_param new file mode 100644 index 0000000000..8bb66c9c84 --- /dev/null +++ b/actionview/test/fixtures/multipart/bracketed_param @@ -0,0 +1,5 @@ +--AaB03x +Content-Disposition: form-data; name="foo[baz]" + +bar +--AaB03x-- diff --git a/actionview/test/fixtures/multipart/bracketed_utf8_param b/actionview/test/fixtures/multipart/bracketed_utf8_param new file mode 100644 index 0000000000..df9cecea08 --- /dev/null +++ b/actionview/test/fixtures/multipart/bracketed_utf8_param @@ -0,0 +1,5 @@ +--AaB03x +Content-Disposition: form-data; name="Iñtërnâtiônàlizætiøn_name[Iñtërnâtiônàlizætiøn_nested_name]" + +Iñtërnâtiônàlizætiøn_value +--AaB03x-- diff --git a/actionview/test/fixtures/multipart/empty b/actionview/test/fixtures/multipart/empty new file mode 100644 index 0000000000..7ba009902e --- /dev/null +++ b/actionview/test/fixtures/multipart/empty @@ -0,0 +1,10 @@ +--AaB03x +Content-Disposition: form-data; name="submit-name" + +Larry +--AaB03x +Content-Disposition: form-data; name="files"; filename="file1.txt" +Content-Type: text/plain + + +--AaB03x-- diff --git a/actionview/test/fixtures/multipart/hello.txt b/actionview/test/fixtures/multipart/hello.txt new file mode 100644 index 0000000000..5ab2f8a432 --- /dev/null +++ b/actionview/test/fixtures/multipart/hello.txt @@ -0,0 +1 @@ +Hello \ No newline at end of file diff --git a/actionview/test/fixtures/multipart/large_text_file b/actionview/test/fixtures/multipart/large_text_file new file mode 100644 index 0000000000..dab4225860 --- /dev/null +++ b/actionview/test/fixtures/multipart/large_text_file @@ -0,0 +1,10 @@ +--AaB03x +Content-Disposition: form-data; name="foo" + +bar +--AaB03x +Content-Disposition: form-data; name="file"; filename="file.txt" +Content-Type: text/plain + +aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa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aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa +--AaB03x-- diff --git a/actionview/test/fixtures/multipart/mixed_files b/actionview/test/fixtures/multipart/mixed_files new file mode 100644 index 0000000000..5eba7a6b48 Binary files /dev/null and b/actionview/test/fixtures/multipart/mixed_files differ diff --git a/actionview/test/fixtures/multipart/mona_lisa.jpg b/actionview/test/fixtures/multipart/mona_lisa.jpg new file mode 100644 index 0000000000..5cf3bef3d0 Binary files /dev/null and b/actionview/test/fixtures/multipart/mona_lisa.jpg differ diff --git a/actionview/test/fixtures/multipart/none b/actionview/test/fixtures/multipart/none new file mode 100644 index 0000000000..47138799ba --- /dev/null +++ b/actionview/test/fixtures/multipart/none @@ -0,0 +1,9 @@ +--AaB03x +Content-Disposition: form-data; name="submit-name" + +Larry +--AaB03x +Content-Disposition: form-data; name="files"; filename="" + + +--AaB03x-- diff --git a/actionview/test/fixtures/multipart/single_parameter b/actionview/test/fixtures/multipart/single_parameter new file mode 100644 index 0000000000..75f0b3bba9 --- /dev/null +++ b/actionview/test/fixtures/multipart/single_parameter @@ -0,0 +1,5 @@ +--AaB03x +Content-Disposition: form-data; name="foo" + +bar +--AaB03x-- diff --git a/actionview/test/fixtures/multipart/single_utf8_param b/actionview/test/fixtures/multipart/single_utf8_param new file mode 100644 index 0000000000..1d9fae7b17 --- /dev/null +++ b/actionview/test/fixtures/multipart/single_utf8_param @@ -0,0 +1,5 @@ +--AaB03x +Content-Disposition: form-data; name="Iñtërnâtiônàlizætiøn_name" + +Iñtërnâtiônàlizætiøn_value +--AaB03x-- diff --git a/actionview/test/fixtures/multipart/text_file b/actionview/test/fixtures/multipart/text_file new file mode 100644 index 0000000000..133d4be43b --- /dev/null +++ b/actionview/test/fixtures/multipart/text_file @@ -0,0 +1,10 @@ +--AaB03x +Content-Disposition: form-data; name="foo" + +bar +--AaB03x +Content-Disposition: form-data; name="file"; filename="file.txt" +Content-Type: text/plain + +contents +--AaB03x-- diff --git a/actionview/test/fixtures/old_content_type/render_default_content_types_for_respond_to.xml.erb b/actionview/test/fixtures/old_content_type/render_default_content_types_for_respond_to.xml.erb new file mode 100644 index 0000000000..25dc746886 --- /dev/null +++ b/actionview/test/fixtures/old_content_type/render_default_content_types_for_respond_to.xml.erb @@ -0,0 +1 @@ +world \ No newline at end of file diff --git a/actionview/test/fixtures/old_content_type/render_default_for_builder.builder b/actionview/test/fixtures/old_content_type/render_default_for_builder.builder new file mode 100644 index 0000000000..598d62e2fc --- /dev/null +++ b/actionview/test/fixtures/old_content_type/render_default_for_builder.builder @@ -0,0 +1 @@ +xml.p "Hello world!" \ No newline at end of file diff --git a/actionview/test/fixtures/old_content_type/render_default_for_erb.erb b/actionview/test/fixtures/old_content_type/render_default_for_erb.erb new file mode 100644 index 0000000000..c7926d48bb --- /dev/null +++ b/actionview/test/fixtures/old_content_type/render_default_for_erb.erb @@ -0,0 +1 @@ +<%= 'hello world!' %> \ No newline at end of file diff --git a/actionview/test/fixtures/override/test/hello_world.erb b/actionview/test/fixtures/override/test/hello_world.erb new file mode 100644 index 0000000000..3e308d3d86 --- /dev/null +++ b/actionview/test/fixtures/override/test/hello_world.erb @@ -0,0 +1 @@ +Hello overridden world! \ No newline at end of file diff --git a/actionview/test/fixtures/override2/layouts/test/sub.erb b/actionview/test/fixtures/override2/layouts/test/sub.erb new file mode 100644 index 0000000000..3863d5a8ef --- /dev/null +++ b/actionview/test/fixtures/override2/layouts/test/sub.erb @@ -0,0 +1 @@ +layout: <%= yield %> \ No newline at end of file diff --git a/actionview/test/fixtures/plain_text.raw b/actionview/test/fixtures/plain_text.raw new file mode 100644 index 0000000000..b13985337f --- /dev/null +++ b/actionview/test/fixtures/plain_text.raw @@ -0,0 +1 @@ +<%= hello_world %> diff --git a/actionview/test/fixtures/plain_text_with_characters.raw b/actionview/test/fixtures/plain_text_with_characters.raw new file mode 100644 index 0000000000..1e86e44fb4 --- /dev/null +++ b/actionview/test/fixtures/plain_text_with_characters.raw @@ -0,0 +1 @@ +Here are some characters: !@#$%^&*()-="'}{` diff --git a/actionview/test/fixtures/post_test/layouts/post.html.erb b/actionview/test/fixtures/post_test/layouts/post.html.erb new file mode 100644 index 0000000000..c6c1a586dd --- /dev/null +++ b/actionview/test/fixtures/post_test/layouts/post.html.erb @@ -0,0 +1 @@ +
<%= yield %>
\ No newline at end of file diff --git a/actionview/test/fixtures/post_test/layouts/super_post.iphone.erb b/actionview/test/fixtures/post_test/layouts/super_post.iphone.erb new file mode 100644 index 0000000000..db0e43694d --- /dev/null +++ b/actionview/test/fixtures/post_test/layouts/super_post.iphone.erb @@ -0,0 +1 @@ +
<%= yield %>
\ No newline at end of file diff --git a/actionview/test/fixtures/post_test/post/index.html.erb b/actionview/test/fixtures/post_test/post/index.html.erb new file mode 100644 index 0000000000..b349b25618 --- /dev/null +++ b/actionview/test/fixtures/post_test/post/index.html.erb @@ -0,0 +1 @@ +Hello Firefox \ No newline at end of file diff --git a/actionview/test/fixtures/post_test/post/index.iphone.erb b/actionview/test/fixtures/post_test/post/index.iphone.erb new file mode 100644 index 0000000000..d741e44351 --- /dev/null +++ b/actionview/test/fixtures/post_test/post/index.iphone.erb @@ -0,0 +1 @@ +Hello iPhone \ No newline at end of file diff --git a/actionview/test/fixtures/post_test/super_post/index.html.erb b/actionview/test/fixtures/post_test/super_post/index.html.erb new file mode 100644 index 0000000000..7fc2eb190a --- /dev/null +++ b/actionview/test/fixtures/post_test/super_post/index.html.erb @@ -0,0 +1 @@ +Super Firefox \ No newline at end of file diff --git a/actionview/test/fixtures/post_test/super_post/index.iphone.erb b/actionview/test/fixtures/post_test/super_post/index.iphone.erb new file mode 100644 index 0000000000..99063a8d8c --- /dev/null +++ b/actionview/test/fixtures/post_test/super_post/index.iphone.erb @@ -0,0 +1 @@ +Super iPhone \ No newline at end of file diff --git a/actionview/test/fixtures/project.rb b/actionview/test/fixtures/project.rb new file mode 100644 index 0000000000..c124a9e605 --- /dev/null +++ b/actionview/test/fixtures/project.rb @@ -0,0 +1,3 @@ +class Project < ActiveRecord::Base + has_and_belongs_to_many :developers, -> { uniq } +end diff --git a/actionview/test/fixtures/projects.yml b/actionview/test/fixtures/projects.yml new file mode 100644 index 0000000000..02800c7824 --- /dev/null +++ b/actionview/test/fixtures/projects.yml @@ -0,0 +1,7 @@ +action_controller: + id: 2 + name: Active Controller + +active_record: + id: 1 + name: Active Record diff --git a/actionview/test/fixtures/projects/_project.erb b/actionview/test/fixtures/projects/_project.erb new file mode 100644 index 0000000000..480c4c2af3 --- /dev/null +++ b/actionview/test/fixtures/projects/_project.erb @@ -0,0 +1 @@ +<%= project.name %> \ No newline at end of file diff --git a/actionview/test/fixtures/public/.gitignore b/actionview/test/fixtures/public/.gitignore new file mode 100644 index 0000000000..312e635ee6 --- /dev/null +++ b/actionview/test/fixtures/public/.gitignore @@ -0,0 +1 @@ +absolute/* diff --git a/actionview/test/fixtures/public/404.html b/actionview/test/fixtures/public/404.html new file mode 100644 index 0000000000..497397ccea --- /dev/null +++ b/actionview/test/fixtures/public/404.html @@ -0,0 +1 @@ +404 error fixture diff --git a/actionview/test/fixtures/public/500.da.html b/actionview/test/fixtures/public/500.da.html new file mode 100644 index 0000000000..a497c13656 --- /dev/null +++ b/actionview/test/fixtures/public/500.da.html @@ -0,0 +1 @@ +500 localized error fixture diff --git a/actionview/test/fixtures/public/500.html b/actionview/test/fixtures/public/500.html new file mode 100644 index 0000000000..7c66c7a943 --- /dev/null +++ b/actionview/test/fixtures/public/500.html @@ -0,0 +1 @@ +500 error fixture diff --git a/actionview/test/fixtures/public/elsewhere/cools.js b/actionview/test/fixtures/public/elsewhere/cools.js new file mode 100644 index 0000000000..6e12fe29c4 --- /dev/null +++ b/actionview/test/fixtures/public/elsewhere/cools.js @@ -0,0 +1 @@ +// cools.js \ No newline at end of file diff --git a/actionview/test/fixtures/public/elsewhere/file.css b/actionview/test/fixtures/public/elsewhere/file.css new file mode 100644 index 0000000000..6aea0733b1 --- /dev/null +++ b/actionview/test/fixtures/public/elsewhere/file.css @@ -0,0 +1 @@ +/*file.css*/ \ No newline at end of file diff --git a/actionview/test/fixtures/public/foo/bar.html b/actionview/test/fixtures/public/foo/bar.html new file mode 100644 index 0000000000..9a35646205 --- /dev/null +++ b/actionview/test/fixtures/public/foo/bar.html @@ -0,0 +1 @@ +/foo/bar.html \ No newline at end of file diff --git a/actionview/test/fixtures/public/foo/baz.css b/actionview/test/fixtures/public/foo/baz.css new file mode 100644 index 0000000000..b5173fbef2 --- /dev/null +++ b/actionview/test/fixtures/public/foo/baz.css @@ -0,0 +1,3 @@ +body { +background: #000; +} diff --git a/actionview/test/fixtures/public/foo/index.html b/actionview/test/fixtures/public/foo/index.html new file mode 100644 index 0000000000..497a2e898f --- /dev/null +++ b/actionview/test/fixtures/public/foo/index.html @@ -0,0 +1 @@ +/foo/index.html \ No newline at end of file diff --git "a/actionview/test/fixtures/public/foo/\343\201\223\343\202\223\343\201\253\343\201\241\343\201\257.html" "b/actionview/test/fixtures/public/foo/\343\201\223\343\202\223\343\201\253\343\201\241\343\201\257.html" new file mode 100644 index 0000000000..1df9166522 --- /dev/null +++ "b/actionview/test/fixtures/public/foo/\343\201\223\343\202\223\343\201\253\343\201\241\343\201\257.html" @@ -0,0 +1 @@ +means hello in Japanese diff --git a/actionview/test/fixtures/public/index.html b/actionview/test/fixtures/public/index.html new file mode 100644 index 0000000000..525950ba6b --- /dev/null +++ b/actionview/test/fixtures/public/index.html @@ -0,0 +1 @@ +/index.html \ No newline at end of file diff --git a/actionview/test/fixtures/public/javascripts/application.js b/actionview/test/fixtures/public/javascripts/application.js new file mode 100644 index 0000000000..9702692980 --- /dev/null +++ b/actionview/test/fixtures/public/javascripts/application.js @@ -0,0 +1 @@ +// application js \ No newline at end of file diff --git a/actionview/test/fixtures/public/javascripts/bank.js b/actionview/test/fixtures/public/javascripts/bank.js new file mode 100644 index 0000000000..4a1bee7182 --- /dev/null +++ b/actionview/test/fixtures/public/javascripts/bank.js @@ -0,0 +1 @@ +// bank js \ No newline at end of file diff --git a/actionview/test/fixtures/public/javascripts/common.javascript b/actionview/test/fixtures/public/javascripts/common.javascript new file mode 100644 index 0000000000..2ae1929056 --- /dev/null +++ b/actionview/test/fixtures/public/javascripts/common.javascript @@ -0,0 +1 @@ +// common.javascript \ No newline at end of file diff --git a/actionview/test/fixtures/public/javascripts/controls.js b/actionview/test/fixtures/public/javascripts/controls.js new file mode 100644 index 0000000000..88168d9f13 --- /dev/null +++ b/actionview/test/fixtures/public/javascripts/controls.js @@ -0,0 +1 @@ +// controls js \ No newline at end of file diff --git a/actionview/test/fixtures/public/javascripts/dragdrop.js b/actionview/test/fixtures/public/javascripts/dragdrop.js new file mode 100644 index 0000000000..c07061ac0c --- /dev/null +++ b/actionview/test/fixtures/public/javascripts/dragdrop.js @@ -0,0 +1 @@ +// dragdrop js \ No newline at end of file diff --git a/actionview/test/fixtures/public/javascripts/effects.js b/actionview/test/fixtures/public/javascripts/effects.js new file mode 100644 index 0000000000..b555d63034 --- /dev/null +++ b/actionview/test/fixtures/public/javascripts/effects.js @@ -0,0 +1 @@ +// effects js \ No newline at end of file diff --git a/actionview/test/fixtures/public/javascripts/prototype.js b/actionview/test/fixtures/public/javascripts/prototype.js new file mode 100644 index 0000000000..9780064a0e --- /dev/null +++ b/actionview/test/fixtures/public/javascripts/prototype.js @@ -0,0 +1 @@ +// prototype js \ No newline at end of file diff --git a/actionview/test/fixtures/public/javascripts/robber.js b/actionview/test/fixtures/public/javascripts/robber.js new file mode 100644 index 0000000000..eb82fcbdf4 --- /dev/null +++ b/actionview/test/fixtures/public/javascripts/robber.js @@ -0,0 +1 @@ +// robber js \ No newline at end of file diff --git a/actionview/test/fixtures/public/javascripts/subdir/subdir.js b/actionview/test/fixtures/public/javascripts/subdir/subdir.js new file mode 100644 index 0000000000..9d23a67aa1 --- /dev/null +++ b/actionview/test/fixtures/public/javascripts/subdir/subdir.js @@ -0,0 +1 @@ +// subdir js diff --git a/actionview/test/fixtures/public/javascripts/version.1.0.js b/actionview/test/fixtures/public/javascripts/version.1.0.js new file mode 100644 index 0000000000..cfd5fce70e --- /dev/null +++ b/actionview/test/fixtures/public/javascripts/version.1.0.js @@ -0,0 +1 @@ +// version.1.0 js \ No newline at end of file diff --git a/actionview/test/fixtures/public/stylesheets/bank.css b/actionview/test/fixtures/public/stylesheets/bank.css new file mode 100644 index 0000000000..ea161b12b2 --- /dev/null +++ b/actionview/test/fixtures/public/stylesheets/bank.css @@ -0,0 +1 @@ +/* bank.css */ \ No newline at end of file diff --git a/actionview/test/fixtures/public/stylesheets/random.styles b/actionview/test/fixtures/public/stylesheets/random.styles new file mode 100644 index 0000000000..d4eeead95c --- /dev/null +++ b/actionview/test/fixtures/public/stylesheets/random.styles @@ -0,0 +1 @@ +/* random.styles */ \ No newline at end of file diff --git a/actionview/test/fixtures/public/stylesheets/robber.css b/actionview/test/fixtures/public/stylesheets/robber.css new file mode 100644 index 0000000000..0fdd00a6a5 --- /dev/null +++ b/actionview/test/fixtures/public/stylesheets/robber.css @@ -0,0 +1 @@ +/* robber.css */ \ No newline at end of file diff --git a/actionview/test/fixtures/public/stylesheets/subdir/subdir.css b/actionview/test/fixtures/public/stylesheets/subdir/subdir.css new file mode 100644 index 0000000000..241152a905 --- /dev/null +++ b/actionview/test/fixtures/public/stylesheets/subdir/subdir.css @@ -0,0 +1 @@ +/* subdir.css */ diff --git a/actionview/test/fixtures/public/stylesheets/version.1.0.css b/actionview/test/fixtures/public/stylesheets/version.1.0.css new file mode 100644 index 0000000000..30f5f9ba6e --- /dev/null +++ b/actionview/test/fixtures/public/stylesheets/version.1.0.css @@ -0,0 +1 @@ +/* version.1.0.css */ \ No newline at end of file diff --git a/actionview/test/fixtures/quiz/questions/_question.html.erb b/actionview/test/fixtures/quiz/questions/_question.html.erb new file mode 100644 index 0000000000..fb4dcfee64 --- /dev/null +++ b/actionview/test/fixtures/quiz/questions/_question.html.erb @@ -0,0 +1 @@ +<%= question.name %> \ No newline at end of file diff --git a/actionview/test/fixtures/replies.yml b/actionview/test/fixtures/replies.yml new file mode 100644 index 0000000000..2a3454b8bf --- /dev/null +++ b/actionview/test/fixtures/replies.yml @@ -0,0 +1,15 @@ +witty_retort: + id: 1 + topic_id: 1 + developer_id: 1 + content: Birdman is better! + created_at: <%= 6.hours.ago.to_s(:db) %> + updated_at: nil + +another: + id: 2 + topic_id: 2 + developer_id: 1 + content: Nuh uh! + created_at: <%= 1.hour.ago.to_s(:db) %> + updated_at: nil diff --git a/actionview/test/fixtures/replies/_reply.erb b/actionview/test/fixtures/replies/_reply.erb new file mode 100644 index 0000000000..68baf548d8 --- /dev/null +++ b/actionview/test/fixtures/replies/_reply.erb @@ -0,0 +1 @@ +<%= reply.content %> \ No newline at end of file diff --git a/actionview/test/fixtures/reply.rb b/actionview/test/fixtures/reply.rb new file mode 100644 index 0000000000..047522c55b --- /dev/null +++ b/actionview/test/fixtures/reply.rb @@ -0,0 +1,7 @@ +class Reply < ActiveRecord::Base + scope :base, -> { all } + belongs_to :topic, -> { includes(:replies) } + belongs_to :developer + + validates_presence_of :content +end diff --git a/actionview/test/fixtures/respond_to/all_types_with_layout.html.erb b/actionview/test/fixtures/respond_to/all_types_with_layout.html.erb new file mode 100644 index 0000000000..84a84049f8 --- /dev/null +++ b/actionview/test/fixtures/respond_to/all_types_with_layout.html.erb @@ -0,0 +1 @@ +HTML for all_types_with_layout \ No newline at end of file diff --git a/actionview/test/fixtures/respond_to/custom_constant_handling_without_block.mobile.erb b/actionview/test/fixtures/respond_to/custom_constant_handling_without_block.mobile.erb new file mode 100644 index 0000000000..0cdfa41494 --- /dev/null +++ b/actionview/test/fixtures/respond_to/custom_constant_handling_without_block.mobile.erb @@ -0,0 +1 @@ +Mobile \ No newline at end of file diff --git a/actionview/test/fixtures/respond_to/iphone_with_html_response_type.html.erb b/actionview/test/fixtures/respond_to/iphone_with_html_response_type.html.erb new file mode 100644 index 0000000000..1f3f1c6516 --- /dev/null +++ b/actionview/test/fixtures/respond_to/iphone_with_html_response_type.html.erb @@ -0,0 +1 @@ +Hello future from <%= @type -%>! \ No newline at end of file diff --git a/actionview/test/fixtures/respond_to/iphone_with_html_response_type.iphone.erb b/actionview/test/fixtures/respond_to/iphone_with_html_response_type.iphone.erb new file mode 100644 index 0000000000..17888ac303 --- /dev/null +++ b/actionview/test/fixtures/respond_to/iphone_with_html_response_type.iphone.erb @@ -0,0 +1 @@ +Hello iPhone future from <%= @type -%>! \ No newline at end of file diff --git a/actionview/test/fixtures/respond_to/layouts/missing.html.erb b/actionview/test/fixtures/respond_to/layouts/missing.html.erb new file mode 100644 index 0000000000..d6f92a3120 --- /dev/null +++ b/actionview/test/fixtures/respond_to/layouts/missing.html.erb @@ -0,0 +1 @@ +
<%= yield %>
\ No newline at end of file diff --git a/actionview/test/fixtures/respond_to/layouts/standard.html.erb b/actionview/test/fixtures/respond_to/layouts/standard.html.erb new file mode 100644 index 0000000000..c6c1a586dd --- /dev/null +++ b/actionview/test/fixtures/respond_to/layouts/standard.html.erb @@ -0,0 +1 @@ +
<%= yield %>
\ No newline at end of file diff --git a/actionview/test/fixtures/respond_to/layouts/standard.iphone.erb b/actionview/test/fixtures/respond_to/layouts/standard.iphone.erb new file mode 100644 index 0000000000..84444517f0 --- /dev/null +++ b/actionview/test/fixtures/respond_to/layouts/standard.iphone.erb @@ -0,0 +1 @@ +
<%= yield %>
\ No newline at end of file diff --git a/actionview/test/fixtures/respond_to/using_defaults.html.erb b/actionview/test/fixtures/respond_to/using_defaults.html.erb new file mode 100644 index 0000000000..6769dd60bd --- /dev/null +++ b/actionview/test/fixtures/respond_to/using_defaults.html.erb @@ -0,0 +1 @@ +Hello world! \ No newline at end of file diff --git a/actionview/test/fixtures/respond_to/using_defaults.xml.builder b/actionview/test/fixtures/respond_to/using_defaults.xml.builder new file mode 100644 index 0000000000..598d62e2fc --- /dev/null +++ b/actionview/test/fixtures/respond_to/using_defaults.xml.builder @@ -0,0 +1 @@ +xml.p "Hello world!" \ No newline at end of file diff --git a/actionview/test/fixtures/respond_to/using_defaults_with_all.html.erb b/actionview/test/fixtures/respond_to/using_defaults_with_all.html.erb new file mode 100644 index 0000000000..9f1f855269 --- /dev/null +++ b/actionview/test/fixtures/respond_to/using_defaults_with_all.html.erb @@ -0,0 +1 @@ +HTML! diff --git a/actionview/test/fixtures/respond_to/using_defaults_with_type_list.html.erb b/actionview/test/fixtures/respond_to/using_defaults_with_type_list.html.erb new file mode 100644 index 0000000000..6769dd60bd --- /dev/null +++ b/actionview/test/fixtures/respond_to/using_defaults_with_type_list.html.erb @@ -0,0 +1 @@ +Hello world! \ No newline at end of file diff --git a/actionview/test/fixtures/respond_to/using_defaults_with_type_list.xml.builder b/actionview/test/fixtures/respond_to/using_defaults_with_type_list.xml.builder new file mode 100644 index 0000000000..598d62e2fc --- /dev/null +++ b/actionview/test/fixtures/respond_to/using_defaults_with_type_list.xml.builder @@ -0,0 +1 @@ +xml.p "Hello world!" \ No newline at end of file diff --git a/actionview/test/fixtures/respond_with/edit.html.erb b/actionview/test/fixtures/respond_with/edit.html.erb new file mode 100644 index 0000000000..ae82dfa4fc --- /dev/null +++ b/actionview/test/fixtures/respond_with/edit.html.erb @@ -0,0 +1 @@ +Edit world! diff --git a/actionview/test/fixtures/respond_with/new.html.erb b/actionview/test/fixtures/respond_with/new.html.erb new file mode 100644 index 0000000000..96c8f1b88b --- /dev/null +++ b/actionview/test/fixtures/respond_with/new.html.erb @@ -0,0 +1 @@ +New world! diff --git a/actionview/test/fixtures/respond_with/using_invalid_resource_with_template.xml.erb b/actionview/test/fixtures/respond_with/using_invalid_resource_with_template.xml.erb new file mode 100644 index 0000000000..bf5869ed22 --- /dev/null +++ b/actionview/test/fixtures/respond_with/using_invalid_resource_with_template.xml.erb @@ -0,0 +1 @@ +I should not be displayed \ No newline at end of file diff --git a/actionview/test/fixtures/respond_with/using_options_with_template.xml.erb b/actionview/test/fixtures/respond_with/using_options_with_template.xml.erb new file mode 100644 index 0000000000..b313017913 --- /dev/null +++ b/actionview/test/fixtures/respond_with/using_options_with_template.xml.erb @@ -0,0 +1 @@ +<%= @customer.name %> \ No newline at end of file diff --git a/actionview/test/fixtures/respond_with/using_resource.js.erb b/actionview/test/fixtures/respond_with/using_resource.js.erb new file mode 100644 index 0000000000..4417680bce --- /dev/null +++ b/actionview/test/fixtures/respond_with/using_resource.js.erb @@ -0,0 +1 @@ +alert("Hi"); \ No newline at end of file diff --git a/actionview/test/fixtures/respond_with/using_resource_with_block.html.erb b/actionview/test/fixtures/respond_with/using_resource_with_block.html.erb new file mode 100644 index 0000000000..6769dd60bd --- /dev/null +++ b/actionview/test/fixtures/respond_with/using_resource_with_block.html.erb @@ -0,0 +1 @@ +Hello world! \ No newline at end of file diff --git a/actionview/test/fixtures/ruby_template.ruby b/actionview/test/fixtures/ruby_template.ruby new file mode 100644 index 0000000000..5097bce47c --- /dev/null +++ b/actionview/test/fixtures/ruby_template.ruby @@ -0,0 +1,2 @@ +body = "" +body << ["Hello", "from", "Ruby", "code"].join(" ") diff --git a/actionview/test/fixtures/scope/test/modgreet.erb b/actionview/test/fixtures/scope/test/modgreet.erb new file mode 100644 index 0000000000..8947726e89 --- /dev/null +++ b/actionview/test/fixtures/scope/test/modgreet.erb @@ -0,0 +1 @@ +

Beautiful modules!

\ No newline at end of file diff --git a/actionview/test/fixtures/session_autoload_test/session_autoload_test/foo.rb b/actionview/test/fixtures/session_autoload_test/session_autoload_test/foo.rb new file mode 100644 index 0000000000..4ee7a24561 --- /dev/null +++ b/actionview/test/fixtures/session_autoload_test/session_autoload_test/foo.rb @@ -0,0 +1,10 @@ +module SessionAutoloadTest + class Foo + def initialize(bar='baz') + @bar = bar + end + def inspect + "#<#{self.class} bar:#{@bar.inspect}>" + end + end +end diff --git a/actionview/test/fixtures/shared.html.erb b/actionview/test/fixtures/shared.html.erb new file mode 100644 index 0000000000..af262fc9f8 --- /dev/null +++ b/actionview/test/fixtures/shared.html.erb @@ -0,0 +1 @@ +Elastica \ No newline at end of file diff --git a/actionview/test/fixtures/star_star_mime/index.js.erb b/actionview/test/fixtures/star_star_mime/index.js.erb new file mode 100644 index 0000000000..4da4181f56 --- /dev/null +++ b/actionview/test/fixtures/star_star_mime/index.js.erb @@ -0,0 +1 @@ +function addition(a,b){ return a+b; } diff --git a/actionview/test/fixtures/symlink_parent/symlinked_layout.erb b/actionview/test/fixtures/symlink_parent/symlinked_layout.erb new file mode 100644 index 0000000000..bda57d0fae --- /dev/null +++ b/actionview/test/fixtures/symlink_parent/symlinked_layout.erb @@ -0,0 +1,5 @@ +This is my layout + +<%= yield %> + +End. diff --git a/actionview/test/fixtures/test/_200.html.erb b/actionview/test/fixtures/test/_200.html.erb new file mode 100644 index 0000000000..c9f45675dc --- /dev/null +++ b/actionview/test/fixtures/test/_200.html.erb @@ -0,0 +1 @@ +

Invalid partial

diff --git a/actionview/test/fixtures/test/_b_layout_for_partial.html.erb b/actionview/test/fixtures/test/_b_layout_for_partial.html.erb new file mode 100644 index 0000000000..e918ba8f83 --- /dev/null +++ b/actionview/test/fixtures/test/_b_layout_for_partial.html.erb @@ -0,0 +1 @@ +<%= yield %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/_b_layout_for_partial_with_object.html.erb b/actionview/test/fixtures/test/_b_layout_for_partial_with_object.html.erb new file mode 100644 index 0000000000..bdd53014cd --- /dev/null +++ b/actionview/test/fixtures/test/_b_layout_for_partial_with_object.html.erb @@ -0,0 +1 @@ +<%= yield %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/_b_layout_for_partial_with_object_counter.html.erb b/actionview/test/fixtures/test/_b_layout_for_partial_with_object_counter.html.erb new file mode 100644 index 0000000000..44d6121297 --- /dev/null +++ b/actionview/test/fixtures/test/_b_layout_for_partial_with_object_counter.html.erb @@ -0,0 +1 @@ +<%= yield %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/_changing_priority.html.erb b/actionview/test/fixtures/test/_changing_priority.html.erb new file mode 100644 index 0000000000..3225efc49a --- /dev/null +++ b/actionview/test/fixtures/test/_changing_priority.html.erb @@ -0,0 +1 @@ +HTML \ No newline at end of file diff --git a/actionview/test/fixtures/test/_changing_priority.json.erb b/actionview/test/fixtures/test/_changing_priority.json.erb new file mode 100644 index 0000000000..7fa41dce66 --- /dev/null +++ b/actionview/test/fixtures/test/_changing_priority.json.erb @@ -0,0 +1 @@ +JSON \ No newline at end of file diff --git a/actionview/test/fixtures/test/_content_tag_nested_in_content_tag.erb b/actionview/test/fixtures/test/_content_tag_nested_in_content_tag.erb new file mode 100644 index 0000000000..2f21a75dd9 --- /dev/null +++ b/actionview/test/fixtures/test/_content_tag_nested_in_content_tag.erb @@ -0,0 +1,3 @@ +<%= content_tag 'p' do %> + <%= content_tag 'b', 'Hello' %> +<% end %> diff --git a/actionview/test/fixtures/test/_counter.html.erb b/actionview/test/fixtures/test/_counter.html.erb new file mode 100644 index 0000000000..fd245bfc70 --- /dev/null +++ b/actionview/test/fixtures/test/_counter.html.erb @@ -0,0 +1 @@ +<%= counter_counter %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/_customer.erb b/actionview/test/fixtures/test/_customer.erb new file mode 100644 index 0000000000..d8220afeda --- /dev/null +++ b/actionview/test/fixtures/test/_customer.erb @@ -0,0 +1 @@ +Hello: <%= customer.name rescue "Anonymous" %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/_customer_counter.erb b/actionview/test/fixtures/test/_customer_counter.erb new file mode 100644 index 0000000000..3435979dba --- /dev/null +++ b/actionview/test/fixtures/test/_customer_counter.erb @@ -0,0 +1 @@ +<%= customer_counter.name %><%= customer_counter_counter %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/_customer_counter_with_as.erb b/actionview/test/fixtures/test/_customer_counter_with_as.erb new file mode 100644 index 0000000000..1241eb604d --- /dev/null +++ b/actionview/test/fixtures/test/_customer_counter_with_as.erb @@ -0,0 +1 @@ +<%= client.name %><%= client_counter %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/_customer_greeting.erb b/actionview/test/fixtures/test/_customer_greeting.erb new file mode 100644 index 0000000000..6acbcb20c4 --- /dev/null +++ b/actionview/test/fixtures/test/_customer_greeting.erb @@ -0,0 +1 @@ +<%= greeting %>: <%= customer_greeting.name %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/_customer_with_var.erb b/actionview/test/fixtures/test/_customer_with_var.erb new file mode 100644 index 0000000000..00047dd20e --- /dev/null +++ b/actionview/test/fixtures/test/_customer_with_var.erb @@ -0,0 +1 @@ +<%= customer.name %> <%= customer.name %> <%= customer.name %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/_directory/_partial_with_locales.html.erb b/actionview/test/fixtures/test/_directory/_partial_with_locales.html.erb new file mode 100644 index 0000000000..1cc8d41475 --- /dev/null +++ b/actionview/test/fixtures/test/_directory/_partial_with_locales.html.erb @@ -0,0 +1 @@ +Hello <%= name %> diff --git a/actionview/test/fixtures/test/_first_json_partial.json.erb b/actionview/test/fixtures/test/_first_json_partial.json.erb new file mode 100644 index 0000000000..790ee896db --- /dev/null +++ b/actionview/test/fixtures/test/_first_json_partial.json.erb @@ -0,0 +1 @@ +<%= render :partial => "test/second_json_partial" %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/_form.erb b/actionview/test/fixtures/test/_form.erb new file mode 100644 index 0000000000..01107f1cb2 --- /dev/null +++ b/actionview/test/fixtures/test/_form.erb @@ -0,0 +1 @@ +<%= form.label :title %> diff --git a/actionview/test/fixtures/test/_from_helper.erb b/actionview/test/fixtures/test/_from_helper.erb new file mode 100644 index 0000000000..16de7c0f8a --- /dev/null +++ b/actionview/test/fixtures/test/_from_helper.erb @@ -0,0 +1 @@ +<%= render_from_helper %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/_hash_greeting.erb b/actionview/test/fixtures/test/_hash_greeting.erb new file mode 100644 index 0000000000..fc54a36f2a --- /dev/null +++ b/actionview/test/fixtures/test/_hash_greeting.erb @@ -0,0 +1 @@ +<%= greeting %>: <%= hash_greeting[:first_name] %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/_hash_object.erb b/actionview/test/fixtures/test/_hash_object.erb new file mode 100644 index 0000000000..34a92c6a56 --- /dev/null +++ b/actionview/test/fixtures/test/_hash_object.erb @@ -0,0 +1,2 @@ +<%= hash_object[:first_name] %> +<%= hash_object[:first_name].reverse %> diff --git a/actionview/test/fixtures/test/_hello.builder b/actionview/test/fixtures/test/_hello.builder new file mode 100644 index 0000000000..ef52f632d1 --- /dev/null +++ b/actionview/test/fixtures/test/_hello.builder @@ -0,0 +1 @@ +xm.hello \ No newline at end of file diff --git a/actionview/test/fixtures/test/_json_change_priority.json.erb b/actionview/test/fixtures/test/_json_change_priority.json.erb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/actionview/test/fixtures/test/_label_with_block.erb b/actionview/test/fixtures/test/_label_with_block.erb new file mode 100644 index 0000000000..40117e594e --- /dev/null +++ b/actionview/test/fixtures/test/_label_with_block.erb @@ -0,0 +1,4 @@ +<%= label 'post', 'message' do %> + Message + <%= text_field 'post', 'message' %> +<% end %> diff --git a/actionview/test/fixtures/test/_labelling_form.erb b/actionview/test/fixtures/test/_labelling_form.erb new file mode 100644 index 0000000000..1b95763165 --- /dev/null +++ b/actionview/test/fixtures/test/_labelling_form.erb @@ -0,0 +1 @@ +<%= labelling_form.label :title %> diff --git a/actionview/test/fixtures/test/_layout_for_block_with_args.html.erb b/actionview/test/fixtures/test/_layout_for_block_with_args.html.erb new file mode 100644 index 0000000000..307533208d --- /dev/null +++ b/actionview/test/fixtures/test/_layout_for_block_with_args.html.erb @@ -0,0 +1,3 @@ +Before +<%= yield 'arg1', 'arg2' %> +After \ No newline at end of file diff --git a/actionview/test/fixtures/test/_layout_for_partial.html.erb b/actionview/test/fixtures/test/_layout_for_partial.html.erb new file mode 100644 index 0000000000..666efadbb6 --- /dev/null +++ b/actionview/test/fixtures/test/_layout_for_partial.html.erb @@ -0,0 +1,3 @@ +Before (<%= name %>) +<%= yield %> +After \ No newline at end of file diff --git a/actionview/test/fixtures/test/_layout_with_partial_and_yield.html.erb b/actionview/test/fixtures/test/_layout_with_partial_and_yield.html.erb new file mode 100644 index 0000000000..820e7db789 --- /dev/null +++ b/actionview/test/fixtures/test/_layout_with_partial_and_yield.html.erb @@ -0,0 +1,4 @@ +Before +<%= render :partial => "test/partial" %> +<%= yield %> +After diff --git a/actionview/test/fixtures/test/_local_inspector.html.erb b/actionview/test/fixtures/test/_local_inspector.html.erb new file mode 100644 index 0000000000..e6765c0882 --- /dev/null +++ b/actionview/test/fixtures/test/_local_inspector.html.erb @@ -0,0 +1 @@ +<%= local_assigns.keys.map {|k| k.to_s }.sort.join(",") -%> \ No newline at end of file diff --git a/actionview/test/fixtures/test/_object_inspector.erb b/actionview/test/fixtures/test/_object_inspector.erb new file mode 100644 index 0000000000..53af593821 --- /dev/null +++ b/actionview/test/fixtures/test/_object_inspector.erb @@ -0,0 +1 @@ +<%= object_inspector.inspect -%> \ No newline at end of file diff --git a/actionview/test/fixtures/test/_one.html.erb b/actionview/test/fixtures/test/_one.html.erb new file mode 100644 index 0000000000..f796291cb4 --- /dev/null +++ b/actionview/test/fixtures/test/_one.html.erb @@ -0,0 +1 @@ +<%= render :partial => "two" %> world diff --git a/actionview/test/fixtures/test/_partial.erb b/actionview/test/fixtures/test/_partial.erb new file mode 100644 index 0000000000..e466dcbd8e --- /dev/null +++ b/actionview/test/fixtures/test/_partial.erb @@ -0,0 +1 @@ +invalid \ No newline at end of file diff --git a/actionview/test/fixtures/test/_partial.html.erb b/actionview/test/fixtures/test/_partial.html.erb new file mode 100644 index 0000000000..e39f6c9827 --- /dev/null +++ b/actionview/test/fixtures/test/_partial.html.erb @@ -0,0 +1 @@ +partial html \ No newline at end of file diff --git a/actionview/test/fixtures/test/_partial.js.erb b/actionview/test/fixtures/test/_partial.js.erb new file mode 100644 index 0000000000..b350cdd7ef --- /dev/null +++ b/actionview/test/fixtures/test/_partial.js.erb @@ -0,0 +1 @@ +partial js \ No newline at end of file diff --git a/actionview/test/fixtures/test/_partial_for_use_in_layout.html.erb b/actionview/test/fixtures/test/_partial_for_use_in_layout.html.erb new file mode 100644 index 0000000000..3a03a64e31 --- /dev/null +++ b/actionview/test/fixtures/test/_partial_for_use_in_layout.html.erb @@ -0,0 +1 @@ +Inside from partial (<%= name %>) \ No newline at end of file diff --git a/actionview/test/fixtures/test/_partial_html_erb.html.erb b/actionview/test/fixtures/test/_partial_html_erb.html.erb new file mode 100644 index 0000000000..4b54875782 --- /dev/null +++ b/actionview/test/fixtures/test/_partial_html_erb.html.erb @@ -0,0 +1 @@ +<%= "partial.html.erb" %> diff --git a/actionview/test/fixtures/test/_partial_name_local_variable.erb b/actionview/test/fixtures/test/_partial_name_local_variable.erb new file mode 100644 index 0000000000..cc3a91c89f --- /dev/null +++ b/actionview/test/fixtures/test/_partial_name_local_variable.erb @@ -0,0 +1 @@ +<%= partial_name_local_variable %> diff --git a/actionview/test/fixtures/test/_partial_only.erb b/actionview/test/fixtures/test/_partial_only.erb new file mode 100644 index 0000000000..a44b3eed40 --- /dev/null +++ b/actionview/test/fixtures/test/_partial_only.erb @@ -0,0 +1 @@ +only partial \ No newline at end of file diff --git a/actionview/test/fixtures/test/_partial_only_html.html b/actionview/test/fixtures/test/_partial_only_html.html new file mode 100644 index 0000000000..d2d630bd40 --- /dev/null +++ b/actionview/test/fixtures/test/_partial_only_html.html @@ -0,0 +1 @@ +only html partial \ No newline at end of file diff --git a/actionview/test/fixtures/test/_partial_with_layout.erb b/actionview/test/fixtures/test/_partial_with_layout.erb new file mode 100644 index 0000000000..2a50c834fe --- /dev/null +++ b/actionview/test/fixtures/test/_partial_with_layout.erb @@ -0,0 +1,2 @@ +<%= render :partial => 'test/partial', :layout => 'test/layout_for_partial', :locals => { :name => 'Bar!' } %> +partial with layout diff --git a/actionview/test/fixtures/test/_partial_with_layout_block_content.erb b/actionview/test/fixtures/test/_partial_with_layout_block_content.erb new file mode 100644 index 0000000000..65dafd93a8 --- /dev/null +++ b/actionview/test/fixtures/test/_partial_with_layout_block_content.erb @@ -0,0 +1,4 @@ +<%= render :layout => 'test/layout_for_partial', :locals => { :name => 'Bar!' } do %> + Content from inside layout! +<% end %> +partial with layout diff --git a/actionview/test/fixtures/test/_partial_with_layout_block_partial.erb b/actionview/test/fixtures/test/_partial_with_layout_block_partial.erb new file mode 100644 index 0000000000..444197a7d0 --- /dev/null +++ b/actionview/test/fixtures/test/_partial_with_layout_block_partial.erb @@ -0,0 +1,4 @@ +<%= render :layout => 'test/layout_for_partial', :locals => { :name => 'Bar!' } do %> + <%= render 'test/partial' %> +<% end %> +partial with layout diff --git a/actionview/test/fixtures/test/_partial_with_only_html_version.html.erb b/actionview/test/fixtures/test/_partial_with_only_html_version.html.erb new file mode 100644 index 0000000000..00e6b6d6da --- /dev/null +++ b/actionview/test/fixtures/test/_partial_with_only_html_version.html.erb @@ -0,0 +1 @@ +partial with only html version \ No newline at end of file diff --git a/actionview/test/fixtures/test/_partial_with_partial.erb b/actionview/test/fixtures/test/_partial_with_partial.erb new file mode 100644 index 0000000000..ee0d5037b6 --- /dev/null +++ b/actionview/test/fixtures/test/_partial_with_partial.erb @@ -0,0 +1,2 @@ +<%= render 'test/partial' %> +partial with partial diff --git a/actionview/test/fixtures/test/_person.erb b/actionview/test/fixtures/test/_person.erb new file mode 100644 index 0000000000..b2e5688956 --- /dev/null +++ b/actionview/test/fixtures/test/_person.erb @@ -0,0 +1,2 @@ +Second: <%= name %> +Third: <%= @name %> diff --git a/actionview/test/fixtures/test/_raise.html.erb b/actionview/test/fixtures/test/_raise.html.erb new file mode 100644 index 0000000000..68b08181d3 --- /dev/null +++ b/actionview/test/fixtures/test/_raise.html.erb @@ -0,0 +1 @@ +<%= doesnt_exist %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/_raise_indentation.html.erb b/actionview/test/fixtures/test/_raise_indentation.html.erb new file mode 100644 index 0000000000..f9a93728fe --- /dev/null +++ b/actionview/test/fixtures/test/_raise_indentation.html.erb @@ -0,0 +1,13 @@ +

First paragraph

+

Second paragraph

+

Third paragraph

+

Fourth paragraph

+

Fifth paragraph

+

Sixth paragraph

+

Seventh paragraph

+

Eight paragraph

+

Ninth paragraph

+

Tenth paragraph

+<%= raise "error here!" %> +

Eleventh paragraph

+

Twelfth paragraph

\ No newline at end of file diff --git a/actionview/test/fixtures/test/_second_json_partial.json.erb b/actionview/test/fixtures/test/_second_json_partial.json.erb new file mode 100644 index 0000000000..5ebb7f1afd --- /dev/null +++ b/actionview/test/fixtures/test/_second_json_partial.json.erb @@ -0,0 +1 @@ +Third level \ No newline at end of file diff --git a/actionview/test/fixtures/test/_two.html.erb b/actionview/test/fixtures/test/_two.html.erb new file mode 100644 index 0000000000..5ab2f8a432 --- /dev/null +++ b/actionview/test/fixtures/test/_two.html.erb @@ -0,0 +1 @@ +Hello \ No newline at end of file diff --git a/actionview/test/fixtures/test/_utf8_partial.html.erb b/actionview/test/fixtures/test/_utf8_partial.html.erb new file mode 100644 index 0000000000..8d717fd427 --- /dev/null +++ b/actionview/test/fixtures/test/_utf8_partial.html.erb @@ -0,0 +1 @@ +<%= "текст" %> diff --git a/actionview/test/fixtures/test/_utf8_partial_magic.html.erb b/actionview/test/fixtures/test/_utf8_partial_magic.html.erb new file mode 100644 index 0000000000..4e2224610a --- /dev/null +++ b/actionview/test/fixtures/test/_utf8_partial_magic.html.erb @@ -0,0 +1,2 @@ +<%# encoding: utf-8 -%> +<%= "текст" %> diff --git a/actionview/test/fixtures/test/action_talk_to_layout.erb b/actionview/test/fixtures/test/action_talk_to_layout.erb new file mode 100644 index 0000000000..36e896daa8 --- /dev/null +++ b/actionview/test/fixtures/test/action_talk_to_layout.erb @@ -0,0 +1,2 @@ +<% @title = "Talking to the layout" -%> +Action was here! \ No newline at end of file diff --git a/actionview/test/fixtures/test/basic.html.erb b/actionview/test/fixtures/test/basic.html.erb new file mode 100644 index 0000000000..ea696d7e01 --- /dev/null +++ b/actionview/test/fixtures/test/basic.html.erb @@ -0,0 +1 @@ +Hello from basic.html.erb \ No newline at end of file diff --git a/actionview/test/fixtures/test/calling_partial_with_layout.html.erb b/actionview/test/fixtures/test/calling_partial_with_layout.html.erb new file mode 100644 index 0000000000..ac44bc0d81 --- /dev/null +++ b/actionview/test/fixtures/test/calling_partial_with_layout.html.erb @@ -0,0 +1 @@ +<%= render(:layout => "layout_for_partial", :partial => "partial_for_use_in_layout", :locals => { :name => "David" }) %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/capturing.erb b/actionview/test/fixtures/test/capturing.erb new file mode 100644 index 0000000000..1addaa40d9 --- /dev/null +++ b/actionview/test/fixtures/test/capturing.erb @@ -0,0 +1,4 @@ +<% days = capture do %> + Dreamy days +<% end %> +<%= days %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/change_priority.html.erb b/actionview/test/fixtures/test/change_priority.html.erb new file mode 100644 index 0000000000..5618977d05 --- /dev/null +++ b/actionview/test/fixtures/test/change_priority.html.erb @@ -0,0 +1,2 @@ +<%= render :partial => "test/json_change_priority", formats: :json %> +HTML Template, but <%= render :partial => "test/changing_priority" %> partial \ No newline at end of file diff --git a/actionview/test/fixtures/test/content_for.erb b/actionview/test/fixtures/test/content_for.erb new file mode 100644 index 0000000000..1fb829f54c --- /dev/null +++ b/actionview/test/fixtures/test/content_for.erb @@ -0,0 +1 @@ +<% content_for :title do -%>Putting stuff in the title!<% end -%>Great stuff! \ No newline at end of file diff --git a/actionview/test/fixtures/test/content_for_concatenated.erb b/actionview/test/fixtures/test/content_for_concatenated.erb new file mode 100644 index 0000000000..e65f629574 --- /dev/null +++ b/actionview/test/fixtures/test/content_for_concatenated.erb @@ -0,0 +1,3 @@ +<% content_for :title, "Putting stuff " + content_for :title, "in the title!" -%> +Great stuff! \ No newline at end of file diff --git a/actionview/test/fixtures/test/content_for_with_parameter.erb b/actionview/test/fixtures/test/content_for_with_parameter.erb new file mode 100644 index 0000000000..aeb6f73ce0 --- /dev/null +++ b/actionview/test/fixtures/test/content_for_with_parameter.erb @@ -0,0 +1,2 @@ +<% content_for :title, "Putting stuff in the title!" -%> +Great stuff! \ No newline at end of file diff --git a/actionview/test/fixtures/test/dont_pick_me b/actionview/test/fixtures/test/dont_pick_me new file mode 100644 index 0000000000..0157c9e503 --- /dev/null +++ b/actionview/test/fixtures/test/dont_pick_me @@ -0,0 +1 @@ +non-template file \ No newline at end of file diff --git a/actionview/test/fixtures/test/dot.directory/render_file_with_ivar.erb b/actionview/test/fixtures/test/dot.directory/render_file_with_ivar.erb new file mode 100644 index 0000000000..8b8a449236 --- /dev/null +++ b/actionview/test/fixtures/test/dot.directory/render_file_with_ivar.erb @@ -0,0 +1 @@ +The secret is <%= @secret %> diff --git a/actionview/test/fixtures/test/formatted_html_erb.html.erb b/actionview/test/fixtures/test/formatted_html_erb.html.erb new file mode 100644 index 0000000000..1c64efabd8 --- /dev/null +++ b/actionview/test/fixtures/test/formatted_html_erb.html.erb @@ -0,0 +1 @@ +formatted html erb \ No newline at end of file diff --git a/actionview/test/fixtures/test/formatted_xml_erb.builder b/actionview/test/fixtures/test/formatted_xml_erb.builder new file mode 100644 index 0000000000..14fd3549fb --- /dev/null +++ b/actionview/test/fixtures/test/formatted_xml_erb.builder @@ -0,0 +1 @@ +xml.test 'failed' \ No newline at end of file diff --git a/actionview/test/fixtures/test/formatted_xml_erb.html.erb b/actionview/test/fixtures/test/formatted_xml_erb.html.erb new file mode 100644 index 0000000000..0c855a604b --- /dev/null +++ b/actionview/test/fixtures/test/formatted_xml_erb.html.erb @@ -0,0 +1 @@ +passed formatted html erb \ No newline at end of file diff --git a/actionview/test/fixtures/test/formatted_xml_erb.xml.erb b/actionview/test/fixtures/test/formatted_xml_erb.xml.erb new file mode 100644 index 0000000000..6ca09d5304 --- /dev/null +++ b/actionview/test/fixtures/test/formatted_xml_erb.xml.erb @@ -0,0 +1 @@ +passed formatted xml erb \ No newline at end of file diff --git a/actionview/test/fixtures/test/greeting.html.erb b/actionview/test/fixtures/test/greeting.html.erb new file mode 100644 index 0000000000..62fb0293f0 --- /dev/null +++ b/actionview/test/fixtures/test/greeting.html.erb @@ -0,0 +1 @@ +

This is grand!

diff --git a/actionview/test/fixtures/test/greeting.xml.erb b/actionview/test/fixtures/test/greeting.xml.erb new file mode 100644 index 0000000000..62fb0293f0 --- /dev/null +++ b/actionview/test/fixtures/test/greeting.xml.erb @@ -0,0 +1 @@ +

This is grand!

diff --git a/actionview/test/fixtures/test/hello,world.erb b/actionview/test/fixtures/test/hello,world.erb new file mode 100644 index 0000000000..bc8fa5e0ca --- /dev/null +++ b/actionview/test/fixtures/test/hello,world.erb @@ -0,0 +1 @@ +Hello w*rld! \ No newline at end of file diff --git a/actionview/test/fixtures/test/hello.builder b/actionview/test/fixtures/test/hello.builder new file mode 100644 index 0000000000..a471553941 --- /dev/null +++ b/actionview/test/fixtures/test/hello.builder @@ -0,0 +1,4 @@ +xml.html do + xml.p "Hello #{@name}" + xml << render(:file => "test/greeting") +end \ No newline at end of file diff --git a/actionview/test/fixtures/test/hello/hello.erb b/actionview/test/fixtures/test/hello/hello.erb new file mode 100644 index 0000000000..6769dd60bd --- /dev/null +++ b/actionview/test/fixtures/test/hello/hello.erb @@ -0,0 +1 @@ +Hello world! \ No newline at end of file diff --git a/actionview/test/fixtures/test/hello_world.da.html.erb b/actionview/test/fixtures/test/hello_world.da.html.erb new file mode 100644 index 0000000000..10ec443291 --- /dev/null +++ b/actionview/test/fixtures/test/hello_world.da.html.erb @@ -0,0 +1 @@ +Hey verden \ No newline at end of file diff --git a/actionview/test/fixtures/test/hello_world.erb b/actionview/test/fixtures/test/hello_world.erb new file mode 100644 index 0000000000..6769dd60bd --- /dev/null +++ b/actionview/test/fixtures/test/hello_world.erb @@ -0,0 +1 @@ +Hello world! \ No newline at end of file diff --git a/actionview/test/fixtures/test/hello_world.pt-BR.html.erb b/actionview/test/fixtures/test/hello_world.pt-BR.html.erb new file mode 100644 index 0000000000..773b3c8c6e --- /dev/null +++ b/actionview/test/fixtures/test/hello_world.pt-BR.html.erb @@ -0,0 +1 @@ +Ola mundo \ No newline at end of file diff --git a/actionview/test/fixtures/test/hello_world_container.builder b/actionview/test/fixtures/test/hello_world_container.builder new file mode 100644 index 0000000000..e48d75c405 --- /dev/null +++ b/actionview/test/fixtures/test/hello_world_container.builder @@ -0,0 +1,3 @@ +xml.test do + render :partial => 'hello', :locals => { :xm => xml } +end \ No newline at end of file diff --git a/actionview/test/fixtures/test/hello_world_from_rxml.builder b/actionview/test/fixtures/test/hello_world_from_rxml.builder new file mode 100644 index 0000000000..619a97ba96 --- /dev/null +++ b/actionview/test/fixtures/test/hello_world_from_rxml.builder @@ -0,0 +1,3 @@ +xml.html do + xml.p "Hello" +end diff --git a/actionview/test/fixtures/test/hello_world_with_layout_false.erb b/actionview/test/fixtures/test/hello_world_with_layout_false.erb new file mode 100644 index 0000000000..6769dd60bd --- /dev/null +++ b/actionview/test/fixtures/test/hello_world_with_layout_false.erb @@ -0,0 +1 @@ +Hello world! \ No newline at end of file diff --git a/actionview/test/fixtures/test/hello_world_with_partial.html.erb b/actionview/test/fixtures/test/hello_world_with_partial.html.erb new file mode 100644 index 0000000000..ec31545356 --- /dev/null +++ b/actionview/test/fixtures/test/hello_world_with_partial.html.erb @@ -0,0 +1,2 @@ +Hello world! +<%= render '/test/partial' %> diff --git a/actionview/test/fixtures/test/hello_xml_world.builder b/actionview/test/fixtures/test/hello_xml_world.builder new file mode 100644 index 0000000000..e7081b89fe --- /dev/null +++ b/actionview/test/fixtures/test/hello_xml_world.builder @@ -0,0 +1,11 @@ +xml.html do + xml.head do + xml.title "Hello World" + end + + xml.body do + xml.p "abes" + xml.p "monks" + xml.p "wiseguys" + end +end \ No newline at end of file diff --git a/actionview/test/fixtures/test/html_template.html.erb b/actionview/test/fixtures/test/html_template.html.erb new file mode 100644 index 0000000000..1bbc2b7f09 --- /dev/null +++ b/actionview/test/fixtures/test/html_template.html.erb @@ -0,0 +1 @@ +<%= render :partial => "test/first_json_partial", formats: :json %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/hyphen-ated.erb b/actionview/test/fixtures/test/hyphen-ated.erb new file mode 100644 index 0000000000..cd0875583a --- /dev/null +++ b/actionview/test/fixtures/test/hyphen-ated.erb @@ -0,0 +1 @@ +Hello world! diff --git a/actionview/test/fixtures/test/implicit_content_type.atom.builder b/actionview/test/fixtures/test/implicit_content_type.atom.builder new file mode 100644 index 0000000000..2fcb32d247 --- /dev/null +++ b/actionview/test/fixtures/test/implicit_content_type.atom.builder @@ -0,0 +1,2 @@ +xml.atom do +end diff --git a/actionview/test/fixtures/test/layout_render_file.erb b/actionview/test/fixtures/test/layout_render_file.erb new file mode 100644 index 0000000000..2f8e921c5f --- /dev/null +++ b/actionview/test/fixtures/test/layout_render_file.erb @@ -0,0 +1,2 @@ +<% content_for :title do %>title<% end -%> +<%= render :file => 'layouts/yield' -%> \ No newline at end of file diff --git a/actionview/test/fixtures/test/layout_render_object.erb b/actionview/test/fixtures/test/layout_render_object.erb new file mode 100644 index 0000000000..acc4453c08 --- /dev/null +++ b/actionview/test/fixtures/test/layout_render_object.erb @@ -0,0 +1 @@ +<%= render :layout => "layouts/customers" do |customer| %><%= customer.name %><% end %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/list.erb b/actionview/test/fixtures/test/list.erb new file mode 100644 index 0000000000..0a4bda58ee --- /dev/null +++ b/actionview/test/fixtures/test/list.erb @@ -0,0 +1 @@ +<%= @test_unchanged = 'goodbye' %><%= render :partial => 'customer', :collection => @customers %><%= @test_unchanged %> diff --git a/actionview/test/fixtures/test/nested_layout.erb b/actionview/test/fixtures/test/nested_layout.erb new file mode 100644 index 0000000000..6078f74b4c --- /dev/null +++ b/actionview/test/fixtures/test/nested_layout.erb @@ -0,0 +1,3 @@ +<% content_for :title, "title" -%> +<% content_for :column do -%>column<% end -%> +<%= render :layout => 'layouts/column' do -%>content<% end -%> \ No newline at end of file diff --git a/actionview/test/fixtures/test/nested_streaming.erb b/actionview/test/fixtures/test/nested_streaming.erb new file mode 100644 index 0000000000..55525e0c92 --- /dev/null +++ b/actionview/test/fixtures/test/nested_streaming.erb @@ -0,0 +1,3 @@ +<%- content_for :header do -%>?<%- end -%> +<%= render :template => "test/streaming" %> +? \ No newline at end of file diff --git a/actionview/test/fixtures/test/non_erb_block_content_for.builder b/actionview/test/fixtures/test/non_erb_block_content_for.builder new file mode 100644 index 0000000000..d539a425a4 --- /dev/null +++ b/actionview/test/fixtures/test/non_erb_block_content_for.builder @@ -0,0 +1,4 @@ +content_for :title do + 'Putting stuff in the title!' +end +xml << "Great stuff!" diff --git a/actionview/test/fixtures/test/one.html.erb b/actionview/test/fixtures/test/one.html.erb new file mode 100644 index 0000000000..0151874809 --- /dev/null +++ b/actionview/test/fixtures/test/one.html.erb @@ -0,0 +1 @@ +<%= render :partial => "test/two" %> world \ No newline at end of file diff --git a/actionview/test/fixtures/test/potential_conflicts.erb b/actionview/test/fixtures/test/potential_conflicts.erb new file mode 100644 index 0000000000..a5e964e359 --- /dev/null +++ b/actionview/test/fixtures/test/potential_conflicts.erb @@ -0,0 +1,4 @@ +First: <%= @name %> +<%= render :partial => "person", :locals => { :name => "Stephan" } -%> +Fourth: <%= @name %> +Fifth: <%= name %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/proper_block_detection.erb b/actionview/test/fixtures/test/proper_block_detection.erb new file mode 100644 index 0000000000..b55efbb25d --- /dev/null +++ b/actionview/test/fixtures/test/proper_block_detection.erb @@ -0,0 +1 @@ +<%= @todo %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/render_file_from_template.html.erb b/actionview/test/fixtures/test/render_file_from_template.html.erb new file mode 100644 index 0000000000..fde9f4bb64 --- /dev/null +++ b/actionview/test/fixtures/test/render_file_from_template.html.erb @@ -0,0 +1 @@ +<%= render :file => @path %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/render_file_with_ivar.erb b/actionview/test/fixtures/test/render_file_with_ivar.erb new file mode 100644 index 0000000000..8b8a449236 --- /dev/null +++ b/actionview/test/fixtures/test/render_file_with_ivar.erb @@ -0,0 +1 @@ +The secret is <%= @secret %> diff --git a/actionview/test/fixtures/test/render_file_with_locals.erb b/actionview/test/fixtures/test/render_file_with_locals.erb new file mode 100644 index 0000000000..ebe09faee6 --- /dev/null +++ b/actionview/test/fixtures/test/render_file_with_locals.erb @@ -0,0 +1 @@ +The secret is <%= secret %> diff --git a/actionview/test/fixtures/test/render_file_with_locals_and_default.erb b/actionview/test/fixtures/test/render_file_with_locals_and_default.erb new file mode 100644 index 0000000000..9b4900acc5 --- /dev/null +++ b/actionview/test/fixtures/test/render_file_with_locals_and_default.erb @@ -0,0 +1 @@ +<%= secret ||= 'one' %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/render_implicit_html_template_from_xhr_request.da.html.erb b/actionview/test/fixtures/test/render_implicit_html_template_from_xhr_request.da.html.erb new file mode 100644 index 0000000000..0740b2d07c --- /dev/null +++ b/actionview/test/fixtures/test/render_implicit_html_template_from_xhr_request.da.html.erb @@ -0,0 +1 @@ +Hey HTML! diff --git a/actionview/test/fixtures/test/render_implicit_html_template_from_xhr_request.html.erb b/actionview/test/fixtures/test/render_implicit_html_template_from_xhr_request.html.erb new file mode 100644 index 0000000000..4a11845cfe --- /dev/null +++ b/actionview/test/fixtures/test/render_implicit_html_template_from_xhr_request.html.erb @@ -0,0 +1 @@ +Hello HTML! \ No newline at end of file diff --git a/actionview/test/fixtures/test/render_implicit_js_template_without_layout.js.erb b/actionview/test/fixtures/test/render_implicit_js_template_without_layout.js.erb new file mode 100644 index 0000000000..892ae5eca2 --- /dev/null +++ b/actionview/test/fixtures/test/render_implicit_js_template_without_layout.js.erb @@ -0,0 +1 @@ +alert('hello'); \ No newline at end of file diff --git a/actionview/test/fixtures/test/render_partial_inside_directory.html.erb b/actionview/test/fixtures/test/render_partial_inside_directory.html.erb new file mode 100644 index 0000000000..1461b95186 --- /dev/null +++ b/actionview/test/fixtures/test/render_partial_inside_directory.html.erb @@ -0,0 +1 @@ +<%= render partial: 'test/_directory/partial_with_locales', locals: {'name' => 'Jane'} %> diff --git a/actionview/test/fixtures/test/render_to_string_test.erb b/actionview/test/fixtures/test/render_to_string_test.erb new file mode 100644 index 0000000000..6e267e8634 --- /dev/null +++ b/actionview/test/fixtures/test/render_to_string_test.erb @@ -0,0 +1 @@ +The value of foo is: ::<%= @foo %>:: diff --git a/actionview/test/fixtures/test/render_two_partials.html.erb b/actionview/test/fixtures/test/render_two_partials.html.erb new file mode 100644 index 0000000000..3db6025860 --- /dev/null +++ b/actionview/test/fixtures/test/render_two_partials.html.erb @@ -0,0 +1,2 @@ +<%= render :partial => 'partial', :locals => {'first' => '1'} %> +<%= render :partial => 'partial', :locals => {'second' => '2'} %> diff --git a/actionview/test/fixtures/test/streaming.erb b/actionview/test/fixtures/test/streaming.erb new file mode 100644 index 0000000000..fb9b8b1ade --- /dev/null +++ b/actionview/test/fixtures/test/streaming.erb @@ -0,0 +1,3 @@ +<%- provide :header do -%>Yes, <%- end -%> +this works +<%- content_for :footer, " like a charm" -%> diff --git a/actionview/test/fixtures/test/streaming_buster.erb b/actionview/test/fixtures/test/streaming_buster.erb new file mode 100644 index 0000000000..4221d56dcc --- /dev/null +++ b/actionview/test/fixtures/test/streaming_buster.erb @@ -0,0 +1,3 @@ +<%= yield :foo -%> +This won't look +<% provide :unknown, " good." -%> diff --git a/actionview/test/fixtures/test/sub_template_raise.html.erb b/actionview/test/fixtures/test/sub_template_raise.html.erb new file mode 100644 index 0000000000..f38c0bda90 --- /dev/null +++ b/actionview/test/fixtures/test/sub_template_raise.html.erb @@ -0,0 +1 @@ +<%= render :partial => "test/raise" %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/template.erb b/actionview/test/fixtures/test/template.erb new file mode 100644 index 0000000000..785afa8f6a --- /dev/null +++ b/actionview/test/fixtures/test/template.erb @@ -0,0 +1 @@ +<%= template.path %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/update_element_with_capture.erb b/actionview/test/fixtures/test/update_element_with_capture.erb new file mode 100644 index 0000000000..fa3ef200f9 --- /dev/null +++ b/actionview/test/fixtures/test/update_element_with_capture.erb @@ -0,0 +1,9 @@ +<% replacement_function = update_element_function("products", :action => :update) do %> +

Product 1

+

Product 2

+<% end %> +<%= javascript_tag(replacement_function) %> + +<% update_element_function("status", :action => :update, :binding => binding) do %> + You bought something! +<% end %> diff --git a/actionview/test/fixtures/test/using_layout_around_block.html.erb b/actionview/test/fixtures/test/using_layout_around_block.html.erb new file mode 100644 index 0000000000..3d6661df9a --- /dev/null +++ b/actionview/test/fixtures/test/using_layout_around_block.html.erb @@ -0,0 +1 @@ +<%= render(:layout => "layout_for_partial", :locals => { :name => "David" }) do %>Inside from block<% end %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/utf8.html.erb b/actionview/test/fixtures/test/utf8.html.erb new file mode 100644 index 0000000000..ac98c2f012 --- /dev/null +++ b/actionview/test/fixtures/test/utf8.html.erb @@ -0,0 +1,4 @@ +Русский <%= render :partial => 'test/utf8_partial' %> +<%= "日".encoding %> +<%= @output_buffer.encoding %> +<%= __ENCODING__ %> diff --git a/actionview/test/fixtures/test/utf8_magic.html.erb b/actionview/test/fixtures/test/utf8_magic.html.erb new file mode 100644 index 0000000000..257279c29f --- /dev/null +++ b/actionview/test/fixtures/test/utf8_magic.html.erb @@ -0,0 +1,5 @@ +<%# encoding: utf-8 -%> +Русский <%= render :partial => 'test/utf8_partial_magic' %> +<%= "日".encoding %> +<%= @output_buffer.encoding %> +<%= __ENCODING__ %> diff --git a/actionview/test/fixtures/test/utf8_magic_with_bare_partial.html.erb b/actionview/test/fixtures/test/utf8_magic_with_bare_partial.html.erb new file mode 100644 index 0000000000..cb22692f9a --- /dev/null +++ b/actionview/test/fixtures/test/utf8_magic_with_bare_partial.html.erb @@ -0,0 +1,5 @@ +<%# encoding: utf-8 -%> +Русский <%= render :partial => 'test/utf8_partial' %> +<%= "日".encoding %> +<%= @output_buffer.encoding %> +<%= __ENCODING__ %> diff --git a/actionview/test/fixtures/test/with_html_partial.html.erb b/actionview/test/fixtures/test/with_html_partial.html.erb new file mode 100644 index 0000000000..d84d909d64 --- /dev/null +++ b/actionview/test/fixtures/test/with_html_partial.html.erb @@ -0,0 +1 @@ +<%= render :partial => "partial_only_html" %> diff --git a/actionview/test/fixtures/test/with_partial.html.erb b/actionview/test/fixtures/test/with_partial.html.erb new file mode 100644 index 0000000000..7502364cf5 --- /dev/null +++ b/actionview/test/fixtures/test/with_partial.html.erb @@ -0,0 +1 @@ +<%= render :partial => "partial_only" %> diff --git a/actionview/test/fixtures/test/with_partial.text.erb b/actionview/test/fixtures/test/with_partial.text.erb new file mode 100644 index 0000000000..5f068ebf27 --- /dev/null +++ b/actionview/test/fixtures/test/with_partial.text.erb @@ -0,0 +1 @@ +**<%= render :partial => "partial_only" %>** diff --git a/actionview/test/fixtures/test/with_xml_template.html.erb b/actionview/test/fixtures/test/with_xml_template.html.erb new file mode 100644 index 0000000000..e54a7cd001 --- /dev/null +++ b/actionview/test/fixtures/test/with_xml_template.html.erb @@ -0,0 +1 @@ +<%= render :template => "test/greeting", :formats => :xml %> diff --git a/actionview/test/fixtures/topic.rb b/actionview/test/fixtures/topic.rb new file mode 100644 index 0000000000..9fa9746535 --- /dev/null +++ b/actionview/test/fixtures/topic.rb @@ -0,0 +1,3 @@ +class Topic < ActiveRecord::Base + has_many :replies, :dependent => :destroy +end diff --git a/actionview/test/fixtures/topics.yml b/actionview/test/fixtures/topics.yml new file mode 100644 index 0000000000..7fdd49d54e --- /dev/null +++ b/actionview/test/fixtures/topics.yml @@ -0,0 +1,22 @@ +futurama: + id: 1 + title: Isnt futurama awesome? + subtitle: It really is, isnt it. + content: I like futurama + created_at: <%= 1.day.ago.to_s(:db) %> + updated_at: + +harvey_birdman: + id: 2 + title: Harvey Birdman is the king of all men + subtitle: yup + content: It really is + created_at: <%= 2.hours.ago.to_s(:db) %> + updated_at: + +rails: + id: 3 + title: Rails is nice + subtitle: It makes me happy + content: except when I have to hack internals to fix pagination. even then really. + created_at: <%= 20.minutes.ago.to_s(:db) %> diff --git a/actionview/test/fixtures/topics/_topic.html.erb b/actionview/test/fixtures/topics/_topic.html.erb new file mode 100644 index 0000000000..98659ca098 --- /dev/null +++ b/actionview/test/fixtures/topics/_topic.html.erb @@ -0,0 +1 @@ +<%= topic.title %> \ No newline at end of file diff --git a/actionview/test/fixtures/translations/templates/array.erb b/actionview/test/fixtures/translations/templates/array.erb new file mode 100644 index 0000000000..d86045a172 --- /dev/null +++ b/actionview/test/fixtures/translations/templates/array.erb @@ -0,0 +1 @@ +<%= t('.foo.bar') %> diff --git a/actionview/test/fixtures/translations/templates/default.erb b/actionview/test/fixtures/translations/templates/default.erb new file mode 100644 index 0000000000..8b70031071 --- /dev/null +++ b/actionview/test/fixtures/translations/templates/default.erb @@ -0,0 +1 @@ +<%= t('.missing', :default => :'.foo') %> diff --git a/actionview/test/fixtures/translations/templates/found.erb b/actionview/test/fixtures/translations/templates/found.erb new file mode 100644 index 0000000000..080c9c0aee --- /dev/null +++ b/actionview/test/fixtures/translations/templates/found.erb @@ -0,0 +1 @@ +<%= t('.foo') %> diff --git a/actionview/test/fixtures/translations/templates/missing.erb b/actionview/test/fixtures/translations/templates/missing.erb new file mode 100644 index 0000000000..0f3f17f8ef --- /dev/null +++ b/actionview/test/fixtures/translations/templates/missing.erb @@ -0,0 +1 @@ +<%= t('.missing') %> diff --git a/actionview/test/fixtures/with_format.json.erb b/actionview/test/fixtures/with_format.json.erb new file mode 100644 index 0000000000..a7f480ab1d --- /dev/null +++ b/actionview/test/fixtures/with_format.json.erb @@ -0,0 +1 @@ +<%= render :partial => 'missing', :formats => [:json] %> -- cgit v1.2.3 From f12109448ba61c86788820615dfdd8b6bce4a39b Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Sat, 9 Jun 2012 18:54:58 +0200 Subject: Remove unneeded test fixtures in AV --- .../test/fixtures/alternate_helpers/foo_helper.rb | 3 --- .../test/fixtures/bad_customers/_bad_customer.html.erb | 1 - actionview/test/fixtures/company.rb | 9 --------- .../filter_test/implicit_actions/edit.html.erb | 1 - .../filter_test/implicit_actions/show.html.erb | 1 - actionview/test/fixtures/fun/games/_form.erb | 1 - .../test/fixtures/functional_caching/_partial.erb | 3 --- .../formatted_fragment_cached.html.erb | 3 --- .../formatted_fragment_cached.xml.builder | 5 ----- .../functional_caching/fragment_cached.html.erb | 3 --- .../html_fragment_cached_with_partial.html.erb | 1 - .../functional_caching/inline_fragment_cached.html.erb | 2 -- actionview/test/fixtures/hello.html | 1 - actionview/test/fixtures/helpers/abc_helper.rb | 5 ----- actionview/test/fixtures/helpers/fun/games_helper.rb | 5 ----- actionview/test/fixtures/helpers/fun/pdf_helper.rb | 5 ----- .../test/fixtures/helpers/helpery_test_helper.rb | 5 ----- actionview/test/fixtures/helpers/just_me_helper.rb | 3 --- actionview/test/fixtures/helpers/me_too_helper.rb | 3 --- actionview/test/fixtures/helpers1_pack/pack1_helper.rb | 5 ----- actionview/test/fixtures/helpers2_pack/pack2_helper.rb | 5 ----- .../test/fixtures/layout_tests/alt/layouts/alt.erb | 0 .../layouts/controller_name_space/nested.erb | 1 - actionview/test/fixtures/layout_tests/layouts/item.erb | 1 - .../test/fixtures/layout_tests/layouts/layout_test.erb | 1 - .../layout_tests/layouts/multiple_extensions.html.erb | 1 - .../test/fixtures/layout_tests/layouts/symlinked | 1 - .../layouts/third_party_template_library.mab | 1 - .../test/fixtures/layout_tests/views/goodbye.erb | 1 - actionview/test/fixtures/layout_tests/views/hello.erb | 1 - actionview/test/fixtures/layouts/block_with_layout.erb | 3 --- actionview/test/fixtures/layouts/builder.builder | 3 --- .../test/fixtures/layouts/partial_with_layout.erb | 3 --- actionview/test/fixtures/layouts/standard.html.erb | 1 - actionview/test/fixtures/layouts/talk_from_action.erb | 2 -- .../test/fixtures/layouts/with_html_partial.html.erb | 1 - actionview/test/fixtures/layouts/xhr.html.erb | 2 -- actionview/test/fixtures/localized/hello_world.de.html | 1 - actionview/test/fixtures/localized/hello_world.en.html | 1 - actionview/test/fixtures/multipart/binary_file | Bin 19820 -> 0 bytes .../test/fixtures/multipart/boundary_problem_file | 10 ---------- actionview/test/fixtures/multipart/bracketed_param | 5 ----- actionview/test/fixtures/multipart/empty | 10 ---------- actionview/test/fixtures/multipart/hello.txt | 1 - actionview/test/fixtures/multipart/large_text_file | 10 ---------- actionview/test/fixtures/multipart/mixed_files | Bin 19937 -> 0 bytes actionview/test/fixtures/multipart/mona_lisa.jpg | Bin 159528 -> 0 bytes actionview/test/fixtures/multipart/none | 9 --------- actionview/test/fixtures/multipart/single_parameter | 5 ----- actionview/test/fixtures/multipart/text_file | 10 ---------- ...render_default_content_types_for_respond_to.xml.erb | 1 - .../render_default_for_builder.builder | 1 - .../old_content_type/render_default_for_erb.erb | 1 - actionview/test/fixtures/override/test/hello_world.erb | 1 - .../test/fixtures/override2/layouts/test/sub.erb | 1 - .../test/fixtures/post_test/layouts/post.html.erb | 1 - .../fixtures/post_test/layouts/super_post.iphone.erb | 1 - actionview/test/fixtures/post_test/post/index.html.erb | 1 - .../test/fixtures/post_test/post/index.iphone.erb | 1 - .../test/fixtures/post_test/super_post/index.html.erb | 1 - .../fixtures/post_test/super_post/index.iphone.erb | 1 - actionview/test/fixtures/public/404.html | 1 - actionview/test/fixtures/public/500.da.html | 1 - actionview/test/fixtures/public/500.html | 1 - actionview/test/fixtures/public/foo/bar.html | 1 - actionview/test/fixtures/public/foo/index.html | 1 - ...3\202\223\343\201\253\343\201\241\343\201\257.html" | 1 - actionview/test/fixtures/public/index.html | 1 - .../test/fixtures/quiz/questions/_question.html.erb | 1 - .../fixtures/respond_to/all_types_with_layout.html.erb | 1 - .../custom_constant_handling_without_block.mobile.erb | 1 - .../respond_to/iphone_with_html_response_type.html.erb | 1 - .../iphone_with_html_response_type.iphone.erb | 1 - .../test/fixtures/respond_to/layouts/missing.html.erb | 1 - .../test/fixtures/respond_to/layouts/standard.html.erb | 1 - .../fixtures/respond_to/layouts/standard.iphone.erb | 1 - .../test/fixtures/respond_to/using_defaults.html.erb | 1 - .../fixtures/respond_to/using_defaults.xml.builder | 1 - .../respond_to/using_defaults_with_type_list.html.erb | 1 - .../using_defaults_with_type_list.xml.builder | 1 - actionview/test/fixtures/respond_with/edit.html.erb | 1 - actionview/test/fixtures/respond_with/new.html.erb | 1 - .../using_invalid_resource_with_template.xml.erb | 1 - .../respond_with/using_options_with_template.xml.erb | 1 - .../test/fixtures/respond_with/using_resource.js.erb | 1 - .../respond_with/using_resource_with_block.html.erb | 1 - .../session_autoload_test/session_autoload_test/foo.rb | 10 ---------- actionview/test/fixtures/star_star_mime/index.js.erb | 1 - .../test/fixtures/symlink_parent/symlinked_layout.erb | 5 ----- actionview/test/fixtures/test/_customer_counter.erb | 1 - .../test/fixtures/test/_customer_counter_with_as.erb | 1 - actionview/test/fixtures/test/_form.erb | 1 - actionview/test/fixtures/test/_hash_greeting.erb | 1 - actionview/test/fixtures/test/_hash_object.erb | 2 -- actionview/test/fixtures/test/_hello.builder | 1 - actionview/test/fixtures/test/_labelling_form.erb | 1 - .../test/fixtures/test/_partial_html_erb.html.erb | 1 - actionview/test/fixtures/test/_partial_only_html.html | 1 - actionview/test/fixtures/test/_person.erb | 2 -- .../test/fixtures/test/action_talk_to_layout.erb | 2 -- actionview/test/fixtures/test/capturing.erb | 4 ---- actionview/test/fixtures/test/content_for.erb | 1 - .../test/fixtures/test/content_for_concatenated.erb | 3 --- .../test/fixtures/test/content_for_with_parameter.erb | 2 -- .../test/fixtures/test/formatted_html_erb.html.erb | 1 - .../test/fixtures/test/formatted_xml_erb.builder | 1 - .../test/fixtures/test/formatted_xml_erb.html.erb | 1 - .../test/fixtures/test/formatted_xml_erb.xml.erb | 1 - actionview/test/fixtures/test/greeting.html.erb | 1 - actionview/test/fixtures/test/hello,world.erb | 1 - .../test/fixtures/test/hello_world_container.builder | 3 --- .../test/fixtures/test/hello_world_from_rxml.builder | 3 --- .../fixtures/test/hello_world_with_layout_false.erb | 1 - actionview/test/fixtures/test/hello_xml_world.builder | 11 ----------- actionview/test/fixtures/test/hyphen-ated.erb | 1 - .../fixtures/test/implicit_content_type.atom.builder | 2 -- .../fixtures/test/non_erb_block_content_for.builder | 4 ---- actionview/test/fixtures/test/potential_conflicts.erb | 4 ---- .../test/fixtures/test/proper_block_detection.erb | 1 - .../fixtures/test/render_file_from_template.html.erb | 1 - ...implicit_html_template_from_xhr_request.da.html.erb | 1 - ...er_implicit_html_template_from_xhr_request.html.erb | 1 - .../render_implicit_js_template_without_layout.js.erb | 1 - .../test/fixtures/test/render_to_string_test.erb | 1 - .../fixtures/test/using_layout_around_block.html.erb | 1 - .../test/fixtures/test/with_html_partial.html.erb | 1 - actionview/test/fixtures/test/with_partial.html.erb | 1 - actionview/test/fixtures/test/with_partial.text.erb | 1 - .../test/fixtures/test/with_xml_template.html.erb | 1 - 129 files changed, 277 deletions(-) delete mode 100644 actionview/test/fixtures/alternate_helpers/foo_helper.rb delete mode 100644 actionview/test/fixtures/bad_customers/_bad_customer.html.erb delete mode 100644 actionview/test/fixtures/company.rb delete mode 100644 actionview/test/fixtures/filter_test/implicit_actions/edit.html.erb delete mode 100644 actionview/test/fixtures/filter_test/implicit_actions/show.html.erb delete mode 100644 actionview/test/fixtures/fun/games/_form.erb delete mode 100644 actionview/test/fixtures/functional_caching/_partial.erb delete mode 100644 actionview/test/fixtures/functional_caching/formatted_fragment_cached.html.erb delete mode 100644 actionview/test/fixtures/functional_caching/formatted_fragment_cached.xml.builder delete mode 100644 actionview/test/fixtures/functional_caching/fragment_cached.html.erb delete mode 100644 actionview/test/fixtures/functional_caching/html_fragment_cached_with_partial.html.erb delete mode 100644 actionview/test/fixtures/functional_caching/inline_fragment_cached.html.erb delete mode 100644 actionview/test/fixtures/hello.html delete mode 100644 actionview/test/fixtures/helpers/abc_helper.rb delete mode 100644 actionview/test/fixtures/helpers/fun/games_helper.rb delete mode 100644 actionview/test/fixtures/helpers/fun/pdf_helper.rb delete mode 100644 actionview/test/fixtures/helpers/helpery_test_helper.rb delete mode 100644 actionview/test/fixtures/helpers/just_me_helper.rb delete mode 100644 actionview/test/fixtures/helpers/me_too_helper.rb delete mode 100644 actionview/test/fixtures/helpers1_pack/pack1_helper.rb delete mode 100644 actionview/test/fixtures/helpers2_pack/pack2_helper.rb delete mode 100644 actionview/test/fixtures/layout_tests/alt/layouts/alt.erb delete mode 100644 actionview/test/fixtures/layout_tests/layouts/controller_name_space/nested.erb delete mode 100644 actionview/test/fixtures/layout_tests/layouts/item.erb delete mode 100644 actionview/test/fixtures/layout_tests/layouts/layout_test.erb delete mode 100644 actionview/test/fixtures/layout_tests/layouts/multiple_extensions.html.erb delete mode 120000 actionview/test/fixtures/layout_tests/layouts/symlinked delete mode 100644 actionview/test/fixtures/layout_tests/layouts/third_party_template_library.mab delete mode 100644 actionview/test/fixtures/layout_tests/views/goodbye.erb delete mode 100644 actionview/test/fixtures/layout_tests/views/hello.erb delete mode 100644 actionview/test/fixtures/layouts/block_with_layout.erb delete mode 100644 actionview/test/fixtures/layouts/builder.builder delete mode 100644 actionview/test/fixtures/layouts/partial_with_layout.erb delete mode 100644 actionview/test/fixtures/layouts/standard.html.erb delete mode 100644 actionview/test/fixtures/layouts/talk_from_action.erb delete mode 100644 actionview/test/fixtures/layouts/with_html_partial.html.erb delete mode 100644 actionview/test/fixtures/layouts/xhr.html.erb delete mode 100644 actionview/test/fixtures/localized/hello_world.de.html delete mode 100644 actionview/test/fixtures/localized/hello_world.en.html delete mode 100644 actionview/test/fixtures/multipart/binary_file delete mode 100644 actionview/test/fixtures/multipart/boundary_problem_file delete mode 100644 actionview/test/fixtures/multipart/bracketed_param delete mode 100644 actionview/test/fixtures/multipart/empty delete mode 100644 actionview/test/fixtures/multipart/hello.txt delete mode 100644 actionview/test/fixtures/multipart/large_text_file delete mode 100644 actionview/test/fixtures/multipart/mixed_files delete mode 100644 actionview/test/fixtures/multipart/mona_lisa.jpg delete mode 100644 actionview/test/fixtures/multipart/none delete mode 100644 actionview/test/fixtures/multipart/single_parameter delete mode 100644 actionview/test/fixtures/multipart/text_file delete mode 100644 actionview/test/fixtures/old_content_type/render_default_content_types_for_respond_to.xml.erb delete mode 100644 actionview/test/fixtures/old_content_type/render_default_for_builder.builder delete mode 100644 actionview/test/fixtures/old_content_type/render_default_for_erb.erb delete mode 100644 actionview/test/fixtures/override/test/hello_world.erb delete mode 100644 actionview/test/fixtures/override2/layouts/test/sub.erb delete mode 100644 actionview/test/fixtures/post_test/layouts/post.html.erb delete mode 100644 actionview/test/fixtures/post_test/layouts/super_post.iphone.erb delete mode 100644 actionview/test/fixtures/post_test/post/index.html.erb delete mode 100644 actionview/test/fixtures/post_test/post/index.iphone.erb delete mode 100644 actionview/test/fixtures/post_test/super_post/index.html.erb delete mode 100644 actionview/test/fixtures/post_test/super_post/index.iphone.erb delete mode 100644 actionview/test/fixtures/public/404.html delete mode 100644 actionview/test/fixtures/public/500.da.html delete mode 100644 actionview/test/fixtures/public/500.html delete mode 100644 actionview/test/fixtures/public/foo/bar.html delete mode 100644 actionview/test/fixtures/public/foo/index.html delete mode 100644 "actionview/test/fixtures/public/foo/\343\201\223\343\202\223\343\201\253\343\201\241\343\201\257.html" delete mode 100644 actionview/test/fixtures/public/index.html delete mode 100644 actionview/test/fixtures/quiz/questions/_question.html.erb delete mode 100644 actionview/test/fixtures/respond_to/all_types_with_layout.html.erb delete mode 100644 actionview/test/fixtures/respond_to/custom_constant_handling_without_block.mobile.erb delete mode 100644 actionview/test/fixtures/respond_to/iphone_with_html_response_type.html.erb delete mode 100644 actionview/test/fixtures/respond_to/iphone_with_html_response_type.iphone.erb delete mode 100644 actionview/test/fixtures/respond_to/layouts/missing.html.erb delete mode 100644 actionview/test/fixtures/respond_to/layouts/standard.html.erb delete mode 100644 actionview/test/fixtures/respond_to/layouts/standard.iphone.erb delete mode 100644 actionview/test/fixtures/respond_to/using_defaults.html.erb delete mode 100644 actionview/test/fixtures/respond_to/using_defaults.xml.builder delete mode 100644 actionview/test/fixtures/respond_to/using_defaults_with_type_list.html.erb delete mode 100644 actionview/test/fixtures/respond_to/using_defaults_with_type_list.xml.builder delete mode 100644 actionview/test/fixtures/respond_with/edit.html.erb delete mode 100644 actionview/test/fixtures/respond_with/new.html.erb delete mode 100644 actionview/test/fixtures/respond_with/using_invalid_resource_with_template.xml.erb delete mode 100644 actionview/test/fixtures/respond_with/using_options_with_template.xml.erb delete mode 100644 actionview/test/fixtures/respond_with/using_resource.js.erb delete mode 100644 actionview/test/fixtures/respond_with/using_resource_with_block.html.erb delete mode 100644 actionview/test/fixtures/session_autoload_test/session_autoload_test/foo.rb delete mode 100644 actionview/test/fixtures/star_star_mime/index.js.erb delete mode 100644 actionview/test/fixtures/symlink_parent/symlinked_layout.erb delete mode 100644 actionview/test/fixtures/test/_customer_counter.erb delete mode 100644 actionview/test/fixtures/test/_customer_counter_with_as.erb delete mode 100644 actionview/test/fixtures/test/_form.erb delete mode 100644 actionview/test/fixtures/test/_hash_greeting.erb delete mode 100644 actionview/test/fixtures/test/_hash_object.erb delete mode 100644 actionview/test/fixtures/test/_hello.builder delete mode 100644 actionview/test/fixtures/test/_labelling_form.erb delete mode 100644 actionview/test/fixtures/test/_partial_html_erb.html.erb delete mode 100644 actionview/test/fixtures/test/_partial_only_html.html delete mode 100644 actionview/test/fixtures/test/_person.erb delete mode 100644 actionview/test/fixtures/test/action_talk_to_layout.erb delete mode 100644 actionview/test/fixtures/test/capturing.erb delete mode 100644 actionview/test/fixtures/test/content_for.erb delete mode 100644 actionview/test/fixtures/test/content_for_concatenated.erb delete mode 100644 actionview/test/fixtures/test/content_for_with_parameter.erb delete mode 100644 actionview/test/fixtures/test/formatted_html_erb.html.erb delete mode 100644 actionview/test/fixtures/test/formatted_xml_erb.builder delete mode 100644 actionview/test/fixtures/test/formatted_xml_erb.html.erb delete mode 100644 actionview/test/fixtures/test/formatted_xml_erb.xml.erb delete mode 100644 actionview/test/fixtures/test/greeting.html.erb delete mode 100644 actionview/test/fixtures/test/hello,world.erb delete mode 100644 actionview/test/fixtures/test/hello_world_container.builder delete mode 100644 actionview/test/fixtures/test/hello_world_from_rxml.builder delete mode 100644 actionview/test/fixtures/test/hello_world_with_layout_false.erb delete mode 100644 actionview/test/fixtures/test/hello_xml_world.builder delete mode 100644 actionview/test/fixtures/test/hyphen-ated.erb delete mode 100644 actionview/test/fixtures/test/implicit_content_type.atom.builder delete mode 100644 actionview/test/fixtures/test/non_erb_block_content_for.builder delete mode 100644 actionview/test/fixtures/test/potential_conflicts.erb delete mode 100644 actionview/test/fixtures/test/proper_block_detection.erb delete mode 100644 actionview/test/fixtures/test/render_file_from_template.html.erb delete mode 100644 actionview/test/fixtures/test/render_implicit_html_template_from_xhr_request.da.html.erb delete mode 100644 actionview/test/fixtures/test/render_implicit_html_template_from_xhr_request.html.erb delete mode 100644 actionview/test/fixtures/test/render_implicit_js_template_without_layout.js.erb delete mode 100644 actionview/test/fixtures/test/render_to_string_test.erb delete mode 100644 actionview/test/fixtures/test/using_layout_around_block.html.erb delete mode 100644 actionview/test/fixtures/test/with_html_partial.html.erb delete mode 100644 actionview/test/fixtures/test/with_partial.html.erb delete mode 100644 actionview/test/fixtures/test/with_partial.text.erb delete mode 100644 actionview/test/fixtures/test/with_xml_template.html.erb (limited to 'actionview/test/fixtures') diff --git a/actionview/test/fixtures/alternate_helpers/foo_helper.rb b/actionview/test/fixtures/alternate_helpers/foo_helper.rb deleted file mode 100644 index 2528584473..0000000000 --- a/actionview/test/fixtures/alternate_helpers/foo_helper.rb +++ /dev/null @@ -1,3 +0,0 @@ -module FooHelper - redefine_method(:baz) {} -end diff --git a/actionview/test/fixtures/bad_customers/_bad_customer.html.erb b/actionview/test/fixtures/bad_customers/_bad_customer.html.erb deleted file mode 100644 index d22af431ec..0000000000 --- a/actionview/test/fixtures/bad_customers/_bad_customer.html.erb +++ /dev/null @@ -1 +0,0 @@ -<%= greeting %> bad customer: <%= bad_customer.name %><%= bad_customer_counter %> \ No newline at end of file diff --git a/actionview/test/fixtures/company.rb b/actionview/test/fixtures/company.rb deleted file mode 100644 index f3ac3642fa..0000000000 --- a/actionview/test/fixtures/company.rb +++ /dev/null @@ -1,9 +0,0 @@ -class Company < ActiveRecord::Base - has_one :mascot - self.sequence_name = :companies_nonstd_seq - - validates_presence_of :name - def validate - errors.add('rating', 'rating should not be 2') if rating == 2 - end -end diff --git a/actionview/test/fixtures/filter_test/implicit_actions/edit.html.erb b/actionview/test/fixtures/filter_test/implicit_actions/edit.html.erb deleted file mode 100644 index 8491ab9f80..0000000000 --- a/actionview/test/fixtures/filter_test/implicit_actions/edit.html.erb +++ /dev/null @@ -1 +0,0 @@ -edit \ No newline at end of file diff --git a/actionview/test/fixtures/filter_test/implicit_actions/show.html.erb b/actionview/test/fixtures/filter_test/implicit_actions/show.html.erb deleted file mode 100644 index 0a89cecf05..0000000000 --- a/actionview/test/fixtures/filter_test/implicit_actions/show.html.erb +++ /dev/null @@ -1 +0,0 @@ -show \ No newline at end of file diff --git a/actionview/test/fixtures/fun/games/_form.erb b/actionview/test/fixtures/fun/games/_form.erb deleted file mode 100644 index 01107f1cb2..0000000000 --- a/actionview/test/fixtures/fun/games/_form.erb +++ /dev/null @@ -1 +0,0 @@ -<%= form.label :title %> diff --git a/actionview/test/fixtures/functional_caching/_partial.erb b/actionview/test/fixtures/functional_caching/_partial.erb deleted file mode 100644 index ec0da7cf50..0000000000 --- a/actionview/test/fixtures/functional_caching/_partial.erb +++ /dev/null @@ -1,3 +0,0 @@ -<% cache do %> -Old fragment caching in a partial -<% end %> diff --git a/actionview/test/fixtures/functional_caching/formatted_fragment_cached.html.erb b/actionview/test/fixtures/functional_caching/formatted_fragment_cached.html.erb deleted file mode 100644 index 9b88fa1f5a..0000000000 --- a/actionview/test/fixtures/functional_caching/formatted_fragment_cached.html.erb +++ /dev/null @@ -1,3 +0,0 @@ - -<%= cache do %>

ERB

<% end %> - diff --git a/actionview/test/fixtures/functional_caching/formatted_fragment_cached.xml.builder b/actionview/test/fixtures/functional_caching/formatted_fragment_cached.xml.builder deleted file mode 100644 index efdcc28e0f..0000000000 --- a/actionview/test/fixtures/functional_caching/formatted_fragment_cached.xml.builder +++ /dev/null @@ -1,5 +0,0 @@ -xml.body do - cache do - xml.p "Builder" - end -end diff --git a/actionview/test/fixtures/functional_caching/fragment_cached.html.erb b/actionview/test/fixtures/functional_caching/fragment_cached.html.erb deleted file mode 100644 index fa5e6bd318..0000000000 --- a/actionview/test/fixtures/functional_caching/fragment_cached.html.erb +++ /dev/null @@ -1,3 +0,0 @@ -Hello -<%= cache do %>This bit's fragment cached<% end %> -<%= 'Ciao' %> diff --git a/actionview/test/fixtures/functional_caching/html_fragment_cached_with_partial.html.erb b/actionview/test/fixtures/functional_caching/html_fragment_cached_with_partial.html.erb deleted file mode 100644 index a9462d3499..0000000000 --- a/actionview/test/fixtures/functional_caching/html_fragment_cached_with_partial.html.erb +++ /dev/null @@ -1 +0,0 @@ -<%= render :partial => 'partial' %> \ No newline at end of file diff --git a/actionview/test/fixtures/functional_caching/inline_fragment_cached.html.erb b/actionview/test/fixtures/functional_caching/inline_fragment_cached.html.erb deleted file mode 100644 index 41647f1404..0000000000 --- a/actionview/test/fixtures/functional_caching/inline_fragment_cached.html.erb +++ /dev/null @@ -1,2 +0,0 @@ -<%= render :inline => 'Some inline content' %> -<%= cache do %>Some cached content<% end %> diff --git a/actionview/test/fixtures/hello.html b/actionview/test/fixtures/hello.html deleted file mode 100644 index 6769dd60bd..0000000000 --- a/actionview/test/fixtures/hello.html +++ /dev/null @@ -1 +0,0 @@ -Hello world! \ No newline at end of file diff --git a/actionview/test/fixtures/helpers/abc_helper.rb b/actionview/test/fixtures/helpers/abc_helper.rb deleted file mode 100644 index 7104ff3730..0000000000 --- a/actionview/test/fixtures/helpers/abc_helper.rb +++ /dev/null @@ -1,5 +0,0 @@ -module AbcHelper - def bare_a() end - def bare_b() end - def bare_c() end -end diff --git a/actionview/test/fixtures/helpers/fun/games_helper.rb b/actionview/test/fixtures/helpers/fun/games_helper.rb deleted file mode 100644 index 3b7adce086..0000000000 --- a/actionview/test/fixtures/helpers/fun/games_helper.rb +++ /dev/null @@ -1,5 +0,0 @@ -module Fun - module GamesHelper - def stratego() "Iz guuut!" end - end -end \ No newline at end of file diff --git a/actionview/test/fixtures/helpers/fun/pdf_helper.rb b/actionview/test/fixtures/helpers/fun/pdf_helper.rb deleted file mode 100644 index 0171be8500..0000000000 --- a/actionview/test/fixtures/helpers/fun/pdf_helper.rb +++ /dev/null @@ -1,5 +0,0 @@ -module Fun - module PdfHelper - def foobar() 'baz' end - end -end diff --git a/actionview/test/fixtures/helpers/helpery_test_helper.rb b/actionview/test/fixtures/helpers/helpery_test_helper.rb deleted file mode 100644 index a4f2951efa..0000000000 --- a/actionview/test/fixtures/helpers/helpery_test_helper.rb +++ /dev/null @@ -1,5 +0,0 @@ -module HelperyTestHelper - def helpery_test - "Default" - end -end diff --git a/actionview/test/fixtures/helpers/just_me_helper.rb b/actionview/test/fixtures/helpers/just_me_helper.rb deleted file mode 100644 index b140a7b9b4..0000000000 --- a/actionview/test/fixtures/helpers/just_me_helper.rb +++ /dev/null @@ -1,3 +0,0 @@ -module JustMeHelper - def me() "mine!" end -end \ No newline at end of file diff --git a/actionview/test/fixtures/helpers/me_too_helper.rb b/actionview/test/fixtures/helpers/me_too_helper.rb deleted file mode 100644 index ce56042143..0000000000 --- a/actionview/test/fixtures/helpers/me_too_helper.rb +++ /dev/null @@ -1,3 +0,0 @@ -module MeTooHelper - def me() "me too!" end -end \ No newline at end of file diff --git a/actionview/test/fixtures/helpers1_pack/pack1_helper.rb b/actionview/test/fixtures/helpers1_pack/pack1_helper.rb deleted file mode 100644 index 9faa427736..0000000000 --- a/actionview/test/fixtures/helpers1_pack/pack1_helper.rb +++ /dev/null @@ -1,5 +0,0 @@ -module Pack1Helper - def conflicting_helper - "pack1" - end -end diff --git a/actionview/test/fixtures/helpers2_pack/pack2_helper.rb b/actionview/test/fixtures/helpers2_pack/pack2_helper.rb deleted file mode 100644 index cf56697dfb..0000000000 --- a/actionview/test/fixtures/helpers2_pack/pack2_helper.rb +++ /dev/null @@ -1,5 +0,0 @@ -module Pack2Helper - def conflicting_helper - "pack2" - end -end diff --git a/actionview/test/fixtures/layout_tests/alt/layouts/alt.erb b/actionview/test/fixtures/layout_tests/alt/layouts/alt.erb deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/actionview/test/fixtures/layout_tests/layouts/controller_name_space/nested.erb b/actionview/test/fixtures/layout_tests/layouts/controller_name_space/nested.erb deleted file mode 100644 index 121bc079a1..0000000000 --- a/actionview/test/fixtures/layout_tests/layouts/controller_name_space/nested.erb +++ /dev/null @@ -1 +0,0 @@ -controller_name_space/nested.erb <%= yield %> \ No newline at end of file diff --git a/actionview/test/fixtures/layout_tests/layouts/item.erb b/actionview/test/fixtures/layout_tests/layouts/item.erb deleted file mode 100644 index 60f04d77d5..0000000000 --- a/actionview/test/fixtures/layout_tests/layouts/item.erb +++ /dev/null @@ -1 +0,0 @@ -item.erb <%= yield %> \ No newline at end of file diff --git a/actionview/test/fixtures/layout_tests/layouts/layout_test.erb b/actionview/test/fixtures/layout_tests/layouts/layout_test.erb deleted file mode 100644 index b74ac0840d..0000000000 --- a/actionview/test/fixtures/layout_tests/layouts/layout_test.erb +++ /dev/null @@ -1 +0,0 @@ -layout_test.erb <%= yield %> \ No newline at end of file diff --git a/actionview/test/fixtures/layout_tests/layouts/multiple_extensions.html.erb b/actionview/test/fixtures/layout_tests/layouts/multiple_extensions.html.erb deleted file mode 100644 index 3b65e54f9c..0000000000 --- a/actionview/test/fixtures/layout_tests/layouts/multiple_extensions.html.erb +++ /dev/null @@ -1 +0,0 @@ -multiple_extensions.html.erb <%= yield %> diff --git a/actionview/test/fixtures/layout_tests/layouts/symlinked b/actionview/test/fixtures/layout_tests/layouts/symlinked deleted file mode 120000 index 0ddc1154ab..0000000000 --- a/actionview/test/fixtures/layout_tests/layouts/symlinked +++ /dev/null @@ -1 +0,0 @@ -../../symlink_parent \ No newline at end of file diff --git a/actionview/test/fixtures/layout_tests/layouts/third_party_template_library.mab b/actionview/test/fixtures/layout_tests/layouts/third_party_template_library.mab deleted file mode 100644 index fcee620d82..0000000000 --- a/actionview/test/fixtures/layout_tests/layouts/third_party_template_library.mab +++ /dev/null @@ -1 +0,0 @@ -layouts/third_party_template_library.mab \ No newline at end of file diff --git a/actionview/test/fixtures/layout_tests/views/goodbye.erb b/actionview/test/fixtures/layout_tests/views/goodbye.erb deleted file mode 100644 index 4ee911188e..0000000000 --- a/actionview/test/fixtures/layout_tests/views/goodbye.erb +++ /dev/null @@ -1 +0,0 @@ -hello.erb \ No newline at end of file diff --git a/actionview/test/fixtures/layout_tests/views/hello.erb b/actionview/test/fixtures/layout_tests/views/hello.erb deleted file mode 100644 index 4ee911188e..0000000000 --- a/actionview/test/fixtures/layout_tests/views/hello.erb +++ /dev/null @@ -1 +0,0 @@ -hello.erb \ No newline at end of file diff --git a/actionview/test/fixtures/layouts/block_with_layout.erb b/actionview/test/fixtures/layouts/block_with_layout.erb deleted file mode 100644 index 73ac833e52..0000000000 --- a/actionview/test/fixtures/layouts/block_with_layout.erb +++ /dev/null @@ -1,3 +0,0 @@ -<%= render(:layout => "layout_for_partial", :locals => { :name => "Anthony" }) do %>Inside from first block in layout<% "Return value should be discarded" %><% end %> -<%= yield %> -<%= render(:layout => "layout_for_partial", :locals => { :name => "Ramm" }) do %>Inside from second block in layout<% end %> diff --git a/actionview/test/fixtures/layouts/builder.builder b/actionview/test/fixtures/layouts/builder.builder deleted file mode 100644 index 7c7d4b2dd1..0000000000 --- a/actionview/test/fixtures/layouts/builder.builder +++ /dev/null @@ -1,3 +0,0 @@ -xml.wrapper do - xml << yield -end \ No newline at end of file diff --git a/actionview/test/fixtures/layouts/partial_with_layout.erb b/actionview/test/fixtures/layouts/partial_with_layout.erb deleted file mode 100644 index a0349d731e..0000000000 --- a/actionview/test/fixtures/layouts/partial_with_layout.erb +++ /dev/null @@ -1,3 +0,0 @@ -<%= render( :layout => "layout_for_partial", :partial => "partial_for_use_in_layout", :locals => {:name => 'Anthony' } ) %> -<%= yield %> -<%= render( :layout => "layout_for_partial", :partial => "partial_for_use_in_layout", :locals => {:name => 'Ramm' } ) %> \ No newline at end of file diff --git a/actionview/test/fixtures/layouts/standard.html.erb b/actionview/test/fixtures/layouts/standard.html.erb deleted file mode 100644 index 5e6c24fe39..0000000000 --- a/actionview/test/fixtures/layouts/standard.html.erb +++ /dev/null @@ -1 +0,0 @@ -<%= yield %><%= @variable_for_layout %> \ No newline at end of file diff --git a/actionview/test/fixtures/layouts/talk_from_action.erb b/actionview/test/fixtures/layouts/talk_from_action.erb deleted file mode 100644 index bf53fdb785..0000000000 --- a/actionview/test/fixtures/layouts/talk_from_action.erb +++ /dev/null @@ -1,2 +0,0 @@ -<%= @title || yield(:title) %> -<%= yield -%> \ No newline at end of file diff --git a/actionview/test/fixtures/layouts/with_html_partial.html.erb b/actionview/test/fixtures/layouts/with_html_partial.html.erb deleted file mode 100644 index fd2896aeaa..0000000000 --- a/actionview/test/fixtures/layouts/with_html_partial.html.erb +++ /dev/null @@ -1 +0,0 @@ -<%= render :partial => "partial_only_html" %><%= yield %> diff --git a/actionview/test/fixtures/layouts/xhr.html.erb b/actionview/test/fixtures/layouts/xhr.html.erb deleted file mode 100644 index 85285324ec..0000000000 --- a/actionview/test/fixtures/layouts/xhr.html.erb +++ /dev/null @@ -1,2 +0,0 @@ -XHR! -<%= yield %> \ No newline at end of file diff --git a/actionview/test/fixtures/localized/hello_world.de.html b/actionview/test/fixtures/localized/hello_world.de.html deleted file mode 100644 index 4727d7a7e0..0000000000 --- a/actionview/test/fixtures/localized/hello_world.de.html +++ /dev/null @@ -1 +0,0 @@ -Gutten Tag \ No newline at end of file diff --git a/actionview/test/fixtures/localized/hello_world.en.html b/actionview/test/fixtures/localized/hello_world.en.html deleted file mode 100644 index 5e1c309dae..0000000000 --- a/actionview/test/fixtures/localized/hello_world.en.html +++ /dev/null @@ -1 +0,0 @@ -Hello World \ No newline at end of file diff --git a/actionview/test/fixtures/multipart/binary_file b/actionview/test/fixtures/multipart/binary_file deleted file mode 100644 index 556187ac1f..0000000000 Binary files a/actionview/test/fixtures/multipart/binary_file and /dev/null differ diff --git a/actionview/test/fixtures/multipart/boundary_problem_file b/actionview/test/fixtures/multipart/boundary_problem_file deleted file mode 100644 index e81c4d8f1b..0000000000 --- a/actionview/test/fixtures/multipart/boundary_problem_file +++ /dev/null @@ -1,10 +0,0 @@ ---AaB03x -Content-Disposition: form-data; name="file"; filename="file.txt" -Content-Type: text/plain - -bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb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bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb ---AaB03x -Content-Disposition: form-data; name="foo" - -bar ---AaB03x-- diff --git a/actionview/test/fixtures/multipart/bracketed_param b/actionview/test/fixtures/multipart/bracketed_param deleted file mode 100644 index 8bb66c9c84..0000000000 --- a/actionview/test/fixtures/multipart/bracketed_param +++ /dev/null @@ -1,5 +0,0 @@ ---AaB03x -Content-Disposition: form-data; name="foo[baz]" - -bar ---AaB03x-- diff --git a/actionview/test/fixtures/multipart/empty b/actionview/test/fixtures/multipart/empty deleted file mode 100644 index 7ba009902e..0000000000 --- a/actionview/test/fixtures/multipart/empty +++ /dev/null @@ -1,10 +0,0 @@ ---AaB03x -Content-Disposition: form-data; name="submit-name" - -Larry ---AaB03x -Content-Disposition: form-data; name="files"; filename="file1.txt" -Content-Type: text/plain - - ---AaB03x-- diff --git a/actionview/test/fixtures/multipart/hello.txt b/actionview/test/fixtures/multipart/hello.txt deleted file mode 100644 index 5ab2f8a432..0000000000 --- a/actionview/test/fixtures/multipart/hello.txt +++ /dev/null @@ -1 +0,0 @@ -Hello \ No newline at end of file diff --git a/actionview/test/fixtures/multipart/large_text_file b/actionview/test/fixtures/multipart/large_text_file deleted file mode 100644 index dab4225860..0000000000 --- a/actionview/test/fixtures/multipart/large_text_file +++ /dev/null @@ -1,10 +0,0 @@ ---AaB03x -Content-Disposition: form-data; name="foo" - -bar ---AaB03x -Content-Disposition: form-data; name="file"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aaaaaaaaaaaaaaaaaaaaaa ---AaB03x-- diff --git a/actionview/test/fixtures/multipart/mixed_files b/actionview/test/fixtures/multipart/mixed_files deleted file mode 100644 index 5eba7a6b48..0000000000 Binary files a/actionview/test/fixtures/multipart/mixed_files and /dev/null differ diff --git a/actionview/test/fixtures/multipart/mona_lisa.jpg b/actionview/test/fixtures/multipart/mona_lisa.jpg deleted file mode 100644 index 5cf3bef3d0..0000000000 Binary files a/actionview/test/fixtures/multipart/mona_lisa.jpg and /dev/null differ diff --git a/actionview/test/fixtures/multipart/none b/actionview/test/fixtures/multipart/none deleted file mode 100644 index 47138799ba..0000000000 --- a/actionview/test/fixtures/multipart/none +++ /dev/null @@ -1,9 +0,0 @@ ---AaB03x -Content-Disposition: form-data; name="submit-name" - -Larry ---AaB03x -Content-Disposition: form-data; name="files"; filename="" - - ---AaB03x-- diff --git a/actionview/test/fixtures/multipart/single_parameter b/actionview/test/fixtures/multipart/single_parameter deleted file mode 100644 index 75f0b3bba9..0000000000 --- a/actionview/test/fixtures/multipart/single_parameter +++ /dev/null @@ -1,5 +0,0 @@ ---AaB03x -Content-Disposition: form-data; name="foo" - -bar ---AaB03x-- diff --git a/actionview/test/fixtures/multipart/text_file b/actionview/test/fixtures/multipart/text_file deleted file mode 100644 index 133d4be43b..0000000000 --- a/actionview/test/fixtures/multipart/text_file +++ /dev/null @@ -1,10 +0,0 @@ ---AaB03x -Content-Disposition: form-data; name="foo" - -bar ---AaB03x -Content-Disposition: form-data; name="file"; filename="file.txt" -Content-Type: text/plain - -contents ---AaB03x-- diff --git a/actionview/test/fixtures/old_content_type/render_default_content_types_for_respond_to.xml.erb b/actionview/test/fixtures/old_content_type/render_default_content_types_for_respond_to.xml.erb deleted file mode 100644 index 25dc746886..0000000000 --- a/actionview/test/fixtures/old_content_type/render_default_content_types_for_respond_to.xml.erb +++ /dev/null @@ -1 +0,0 @@ -world \ No newline at end of file diff --git a/actionview/test/fixtures/old_content_type/render_default_for_builder.builder b/actionview/test/fixtures/old_content_type/render_default_for_builder.builder deleted file mode 100644 index 598d62e2fc..0000000000 --- a/actionview/test/fixtures/old_content_type/render_default_for_builder.builder +++ /dev/null @@ -1 +0,0 @@ -xml.p "Hello world!" \ No newline at end of file diff --git a/actionview/test/fixtures/old_content_type/render_default_for_erb.erb b/actionview/test/fixtures/old_content_type/render_default_for_erb.erb deleted file mode 100644 index c7926d48bb..0000000000 --- a/actionview/test/fixtures/old_content_type/render_default_for_erb.erb +++ /dev/null @@ -1 +0,0 @@ -<%= 'hello world!' %> \ No newline at end of file diff --git a/actionview/test/fixtures/override/test/hello_world.erb b/actionview/test/fixtures/override/test/hello_world.erb deleted file mode 100644 index 3e308d3d86..0000000000 --- a/actionview/test/fixtures/override/test/hello_world.erb +++ /dev/null @@ -1 +0,0 @@ -Hello overridden world! \ No newline at end of file diff --git a/actionview/test/fixtures/override2/layouts/test/sub.erb b/actionview/test/fixtures/override2/layouts/test/sub.erb deleted file mode 100644 index 3863d5a8ef..0000000000 --- a/actionview/test/fixtures/override2/layouts/test/sub.erb +++ /dev/null @@ -1 +0,0 @@ -layout: <%= yield %> \ No newline at end of file diff --git a/actionview/test/fixtures/post_test/layouts/post.html.erb b/actionview/test/fixtures/post_test/layouts/post.html.erb deleted file mode 100644 index c6c1a586dd..0000000000 --- a/actionview/test/fixtures/post_test/layouts/post.html.erb +++ /dev/null @@ -1 +0,0 @@ -
<%= yield %>
\ No newline at end of file diff --git a/actionview/test/fixtures/post_test/layouts/super_post.iphone.erb b/actionview/test/fixtures/post_test/layouts/super_post.iphone.erb deleted file mode 100644 index db0e43694d..0000000000 --- a/actionview/test/fixtures/post_test/layouts/super_post.iphone.erb +++ /dev/null @@ -1 +0,0 @@ -
<%= yield %>
\ No newline at end of file diff --git a/actionview/test/fixtures/post_test/post/index.html.erb b/actionview/test/fixtures/post_test/post/index.html.erb deleted file mode 100644 index b349b25618..0000000000 --- a/actionview/test/fixtures/post_test/post/index.html.erb +++ /dev/null @@ -1 +0,0 @@ -Hello Firefox \ No newline at end of file diff --git a/actionview/test/fixtures/post_test/post/index.iphone.erb b/actionview/test/fixtures/post_test/post/index.iphone.erb deleted file mode 100644 index d741e44351..0000000000 --- a/actionview/test/fixtures/post_test/post/index.iphone.erb +++ /dev/null @@ -1 +0,0 @@ -Hello iPhone \ No newline at end of file diff --git a/actionview/test/fixtures/post_test/super_post/index.html.erb b/actionview/test/fixtures/post_test/super_post/index.html.erb deleted file mode 100644 index 7fc2eb190a..0000000000 --- a/actionview/test/fixtures/post_test/super_post/index.html.erb +++ /dev/null @@ -1 +0,0 @@ -Super Firefox \ No newline at end of file diff --git a/actionview/test/fixtures/post_test/super_post/index.iphone.erb b/actionview/test/fixtures/post_test/super_post/index.iphone.erb deleted file mode 100644 index 99063a8d8c..0000000000 --- a/actionview/test/fixtures/post_test/super_post/index.iphone.erb +++ /dev/null @@ -1 +0,0 @@ -Super iPhone \ No newline at end of file diff --git a/actionview/test/fixtures/public/404.html b/actionview/test/fixtures/public/404.html deleted file mode 100644 index 497397ccea..0000000000 --- a/actionview/test/fixtures/public/404.html +++ /dev/null @@ -1 +0,0 @@ -404 error fixture diff --git a/actionview/test/fixtures/public/500.da.html b/actionview/test/fixtures/public/500.da.html deleted file mode 100644 index a497c13656..0000000000 --- a/actionview/test/fixtures/public/500.da.html +++ /dev/null @@ -1 +0,0 @@ -500 localized error fixture diff --git a/actionview/test/fixtures/public/500.html b/actionview/test/fixtures/public/500.html deleted file mode 100644 index 7c66c7a943..0000000000 --- a/actionview/test/fixtures/public/500.html +++ /dev/null @@ -1 +0,0 @@ -500 error fixture diff --git a/actionview/test/fixtures/public/foo/bar.html b/actionview/test/fixtures/public/foo/bar.html deleted file mode 100644 index 9a35646205..0000000000 --- a/actionview/test/fixtures/public/foo/bar.html +++ /dev/null @@ -1 +0,0 @@ -/foo/bar.html \ No newline at end of file diff --git a/actionview/test/fixtures/public/foo/index.html b/actionview/test/fixtures/public/foo/index.html deleted file mode 100644 index 497a2e898f..0000000000 --- a/actionview/test/fixtures/public/foo/index.html +++ /dev/null @@ -1 +0,0 @@ -/foo/index.html \ No newline at end of file diff --git "a/actionview/test/fixtures/public/foo/\343\201\223\343\202\223\343\201\253\343\201\241\343\201\257.html" "b/actionview/test/fixtures/public/foo/\343\201\223\343\202\223\343\201\253\343\201\241\343\201\257.html" deleted file mode 100644 index 1df9166522..0000000000 --- "a/actionview/test/fixtures/public/foo/\343\201\223\343\202\223\343\201\253\343\201\241\343\201\257.html" +++ /dev/null @@ -1 +0,0 @@ -means hello in Japanese diff --git a/actionview/test/fixtures/public/index.html b/actionview/test/fixtures/public/index.html deleted file mode 100644 index 525950ba6b..0000000000 --- a/actionview/test/fixtures/public/index.html +++ /dev/null @@ -1 +0,0 @@ -/index.html \ No newline at end of file diff --git a/actionview/test/fixtures/quiz/questions/_question.html.erb b/actionview/test/fixtures/quiz/questions/_question.html.erb deleted file mode 100644 index fb4dcfee64..0000000000 --- a/actionview/test/fixtures/quiz/questions/_question.html.erb +++ /dev/null @@ -1 +0,0 @@ -<%= question.name %> \ No newline at end of file diff --git a/actionview/test/fixtures/respond_to/all_types_with_layout.html.erb b/actionview/test/fixtures/respond_to/all_types_with_layout.html.erb deleted file mode 100644 index 84a84049f8..0000000000 --- a/actionview/test/fixtures/respond_to/all_types_with_layout.html.erb +++ /dev/null @@ -1 +0,0 @@ -HTML for all_types_with_layout \ No newline at end of file diff --git a/actionview/test/fixtures/respond_to/custom_constant_handling_without_block.mobile.erb b/actionview/test/fixtures/respond_to/custom_constant_handling_without_block.mobile.erb deleted file mode 100644 index 0cdfa41494..0000000000 --- a/actionview/test/fixtures/respond_to/custom_constant_handling_without_block.mobile.erb +++ /dev/null @@ -1 +0,0 @@ -Mobile \ No newline at end of file diff --git a/actionview/test/fixtures/respond_to/iphone_with_html_response_type.html.erb b/actionview/test/fixtures/respond_to/iphone_with_html_response_type.html.erb deleted file mode 100644 index 1f3f1c6516..0000000000 --- a/actionview/test/fixtures/respond_to/iphone_with_html_response_type.html.erb +++ /dev/null @@ -1 +0,0 @@ -Hello future from <%= @type -%>! \ No newline at end of file diff --git a/actionview/test/fixtures/respond_to/iphone_with_html_response_type.iphone.erb b/actionview/test/fixtures/respond_to/iphone_with_html_response_type.iphone.erb deleted file mode 100644 index 17888ac303..0000000000 --- a/actionview/test/fixtures/respond_to/iphone_with_html_response_type.iphone.erb +++ /dev/null @@ -1 +0,0 @@ -Hello iPhone future from <%= @type -%>! \ No newline at end of file diff --git a/actionview/test/fixtures/respond_to/layouts/missing.html.erb b/actionview/test/fixtures/respond_to/layouts/missing.html.erb deleted file mode 100644 index d6f92a3120..0000000000 --- a/actionview/test/fixtures/respond_to/layouts/missing.html.erb +++ /dev/null @@ -1 +0,0 @@ -
<%= yield %>
\ No newline at end of file diff --git a/actionview/test/fixtures/respond_to/layouts/standard.html.erb b/actionview/test/fixtures/respond_to/layouts/standard.html.erb deleted file mode 100644 index c6c1a586dd..0000000000 --- a/actionview/test/fixtures/respond_to/layouts/standard.html.erb +++ /dev/null @@ -1 +0,0 @@ -
<%= yield %>
\ No newline at end of file diff --git a/actionview/test/fixtures/respond_to/layouts/standard.iphone.erb b/actionview/test/fixtures/respond_to/layouts/standard.iphone.erb deleted file mode 100644 index 84444517f0..0000000000 --- a/actionview/test/fixtures/respond_to/layouts/standard.iphone.erb +++ /dev/null @@ -1 +0,0 @@ -
<%= yield %>
\ No newline at end of file diff --git a/actionview/test/fixtures/respond_to/using_defaults.html.erb b/actionview/test/fixtures/respond_to/using_defaults.html.erb deleted file mode 100644 index 6769dd60bd..0000000000 --- a/actionview/test/fixtures/respond_to/using_defaults.html.erb +++ /dev/null @@ -1 +0,0 @@ -Hello world! \ No newline at end of file diff --git a/actionview/test/fixtures/respond_to/using_defaults.xml.builder b/actionview/test/fixtures/respond_to/using_defaults.xml.builder deleted file mode 100644 index 598d62e2fc..0000000000 --- a/actionview/test/fixtures/respond_to/using_defaults.xml.builder +++ /dev/null @@ -1 +0,0 @@ -xml.p "Hello world!" \ No newline at end of file diff --git a/actionview/test/fixtures/respond_to/using_defaults_with_type_list.html.erb b/actionview/test/fixtures/respond_to/using_defaults_with_type_list.html.erb deleted file mode 100644 index 6769dd60bd..0000000000 --- a/actionview/test/fixtures/respond_to/using_defaults_with_type_list.html.erb +++ /dev/null @@ -1 +0,0 @@ -Hello world! \ No newline at end of file diff --git a/actionview/test/fixtures/respond_to/using_defaults_with_type_list.xml.builder b/actionview/test/fixtures/respond_to/using_defaults_with_type_list.xml.builder deleted file mode 100644 index 598d62e2fc..0000000000 --- a/actionview/test/fixtures/respond_to/using_defaults_with_type_list.xml.builder +++ /dev/null @@ -1 +0,0 @@ -xml.p "Hello world!" \ No newline at end of file diff --git a/actionview/test/fixtures/respond_with/edit.html.erb b/actionview/test/fixtures/respond_with/edit.html.erb deleted file mode 100644 index ae82dfa4fc..0000000000 --- a/actionview/test/fixtures/respond_with/edit.html.erb +++ /dev/null @@ -1 +0,0 @@ -Edit world! diff --git a/actionview/test/fixtures/respond_with/new.html.erb b/actionview/test/fixtures/respond_with/new.html.erb deleted file mode 100644 index 96c8f1b88b..0000000000 --- a/actionview/test/fixtures/respond_with/new.html.erb +++ /dev/null @@ -1 +0,0 @@ -New world! diff --git a/actionview/test/fixtures/respond_with/using_invalid_resource_with_template.xml.erb b/actionview/test/fixtures/respond_with/using_invalid_resource_with_template.xml.erb deleted file mode 100644 index bf5869ed22..0000000000 --- a/actionview/test/fixtures/respond_with/using_invalid_resource_with_template.xml.erb +++ /dev/null @@ -1 +0,0 @@ -I should not be displayed \ No newline at end of file diff --git a/actionview/test/fixtures/respond_with/using_options_with_template.xml.erb b/actionview/test/fixtures/respond_with/using_options_with_template.xml.erb deleted file mode 100644 index b313017913..0000000000 --- a/actionview/test/fixtures/respond_with/using_options_with_template.xml.erb +++ /dev/null @@ -1 +0,0 @@ -<%= @customer.name %> \ No newline at end of file diff --git a/actionview/test/fixtures/respond_with/using_resource.js.erb b/actionview/test/fixtures/respond_with/using_resource.js.erb deleted file mode 100644 index 4417680bce..0000000000 --- a/actionview/test/fixtures/respond_with/using_resource.js.erb +++ /dev/null @@ -1 +0,0 @@ -alert("Hi"); \ No newline at end of file diff --git a/actionview/test/fixtures/respond_with/using_resource_with_block.html.erb b/actionview/test/fixtures/respond_with/using_resource_with_block.html.erb deleted file mode 100644 index 6769dd60bd..0000000000 --- a/actionview/test/fixtures/respond_with/using_resource_with_block.html.erb +++ /dev/null @@ -1 +0,0 @@ -Hello world! \ No newline at end of file diff --git a/actionview/test/fixtures/session_autoload_test/session_autoload_test/foo.rb b/actionview/test/fixtures/session_autoload_test/session_autoload_test/foo.rb deleted file mode 100644 index 4ee7a24561..0000000000 --- a/actionview/test/fixtures/session_autoload_test/session_autoload_test/foo.rb +++ /dev/null @@ -1,10 +0,0 @@ -module SessionAutoloadTest - class Foo - def initialize(bar='baz') - @bar = bar - end - def inspect - "#<#{self.class} bar:#{@bar.inspect}>" - end - end -end diff --git a/actionview/test/fixtures/star_star_mime/index.js.erb b/actionview/test/fixtures/star_star_mime/index.js.erb deleted file mode 100644 index 4da4181f56..0000000000 --- a/actionview/test/fixtures/star_star_mime/index.js.erb +++ /dev/null @@ -1 +0,0 @@ -function addition(a,b){ return a+b; } diff --git a/actionview/test/fixtures/symlink_parent/symlinked_layout.erb b/actionview/test/fixtures/symlink_parent/symlinked_layout.erb deleted file mode 100644 index bda57d0fae..0000000000 --- a/actionview/test/fixtures/symlink_parent/symlinked_layout.erb +++ /dev/null @@ -1,5 +0,0 @@ -This is my layout - -<%= yield %> - -End. diff --git a/actionview/test/fixtures/test/_customer_counter.erb b/actionview/test/fixtures/test/_customer_counter.erb deleted file mode 100644 index 3435979dba..0000000000 --- a/actionview/test/fixtures/test/_customer_counter.erb +++ /dev/null @@ -1 +0,0 @@ -<%= customer_counter.name %><%= customer_counter_counter %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/_customer_counter_with_as.erb b/actionview/test/fixtures/test/_customer_counter_with_as.erb deleted file mode 100644 index 1241eb604d..0000000000 --- a/actionview/test/fixtures/test/_customer_counter_with_as.erb +++ /dev/null @@ -1 +0,0 @@ -<%= client.name %><%= client_counter %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/_form.erb b/actionview/test/fixtures/test/_form.erb deleted file mode 100644 index 01107f1cb2..0000000000 --- a/actionview/test/fixtures/test/_form.erb +++ /dev/null @@ -1 +0,0 @@ -<%= form.label :title %> diff --git a/actionview/test/fixtures/test/_hash_greeting.erb b/actionview/test/fixtures/test/_hash_greeting.erb deleted file mode 100644 index fc54a36f2a..0000000000 --- a/actionview/test/fixtures/test/_hash_greeting.erb +++ /dev/null @@ -1 +0,0 @@ -<%= greeting %>: <%= hash_greeting[:first_name] %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/_hash_object.erb b/actionview/test/fixtures/test/_hash_object.erb deleted file mode 100644 index 34a92c6a56..0000000000 --- a/actionview/test/fixtures/test/_hash_object.erb +++ /dev/null @@ -1,2 +0,0 @@ -<%= hash_object[:first_name] %> -<%= hash_object[:first_name].reverse %> diff --git a/actionview/test/fixtures/test/_hello.builder b/actionview/test/fixtures/test/_hello.builder deleted file mode 100644 index ef52f632d1..0000000000 --- a/actionview/test/fixtures/test/_hello.builder +++ /dev/null @@ -1 +0,0 @@ -xm.hello \ No newline at end of file diff --git a/actionview/test/fixtures/test/_labelling_form.erb b/actionview/test/fixtures/test/_labelling_form.erb deleted file mode 100644 index 1b95763165..0000000000 --- a/actionview/test/fixtures/test/_labelling_form.erb +++ /dev/null @@ -1 +0,0 @@ -<%= labelling_form.label :title %> diff --git a/actionview/test/fixtures/test/_partial_html_erb.html.erb b/actionview/test/fixtures/test/_partial_html_erb.html.erb deleted file mode 100644 index 4b54875782..0000000000 --- a/actionview/test/fixtures/test/_partial_html_erb.html.erb +++ /dev/null @@ -1 +0,0 @@ -<%= "partial.html.erb" %> diff --git a/actionview/test/fixtures/test/_partial_only_html.html b/actionview/test/fixtures/test/_partial_only_html.html deleted file mode 100644 index d2d630bd40..0000000000 --- a/actionview/test/fixtures/test/_partial_only_html.html +++ /dev/null @@ -1 +0,0 @@ -only html partial \ No newline at end of file diff --git a/actionview/test/fixtures/test/_person.erb b/actionview/test/fixtures/test/_person.erb deleted file mode 100644 index b2e5688956..0000000000 --- a/actionview/test/fixtures/test/_person.erb +++ /dev/null @@ -1,2 +0,0 @@ -Second: <%= name %> -Third: <%= @name %> diff --git a/actionview/test/fixtures/test/action_talk_to_layout.erb b/actionview/test/fixtures/test/action_talk_to_layout.erb deleted file mode 100644 index 36e896daa8..0000000000 --- a/actionview/test/fixtures/test/action_talk_to_layout.erb +++ /dev/null @@ -1,2 +0,0 @@ -<% @title = "Talking to the layout" -%> -Action was here! \ No newline at end of file diff --git a/actionview/test/fixtures/test/capturing.erb b/actionview/test/fixtures/test/capturing.erb deleted file mode 100644 index 1addaa40d9..0000000000 --- a/actionview/test/fixtures/test/capturing.erb +++ /dev/null @@ -1,4 +0,0 @@ -<% days = capture do %> - Dreamy days -<% end %> -<%= days %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/content_for.erb b/actionview/test/fixtures/test/content_for.erb deleted file mode 100644 index 1fb829f54c..0000000000 --- a/actionview/test/fixtures/test/content_for.erb +++ /dev/null @@ -1 +0,0 @@ -<% content_for :title do -%>Putting stuff in the title!<% end -%>Great stuff! \ No newline at end of file diff --git a/actionview/test/fixtures/test/content_for_concatenated.erb b/actionview/test/fixtures/test/content_for_concatenated.erb deleted file mode 100644 index e65f629574..0000000000 --- a/actionview/test/fixtures/test/content_for_concatenated.erb +++ /dev/null @@ -1,3 +0,0 @@ -<% content_for :title, "Putting stuff " - content_for :title, "in the title!" -%> -Great stuff! \ No newline at end of file diff --git a/actionview/test/fixtures/test/content_for_with_parameter.erb b/actionview/test/fixtures/test/content_for_with_parameter.erb deleted file mode 100644 index aeb6f73ce0..0000000000 --- a/actionview/test/fixtures/test/content_for_with_parameter.erb +++ /dev/null @@ -1,2 +0,0 @@ -<% content_for :title, "Putting stuff in the title!" -%> -Great stuff! \ No newline at end of file diff --git a/actionview/test/fixtures/test/formatted_html_erb.html.erb b/actionview/test/fixtures/test/formatted_html_erb.html.erb deleted file mode 100644 index 1c64efabd8..0000000000 --- a/actionview/test/fixtures/test/formatted_html_erb.html.erb +++ /dev/null @@ -1 +0,0 @@ -formatted html erb \ No newline at end of file diff --git a/actionview/test/fixtures/test/formatted_xml_erb.builder b/actionview/test/fixtures/test/formatted_xml_erb.builder deleted file mode 100644 index 14fd3549fb..0000000000 --- a/actionview/test/fixtures/test/formatted_xml_erb.builder +++ /dev/null @@ -1 +0,0 @@ -xml.test 'failed' \ No newline at end of file diff --git a/actionview/test/fixtures/test/formatted_xml_erb.html.erb b/actionview/test/fixtures/test/formatted_xml_erb.html.erb deleted file mode 100644 index 0c855a604b..0000000000 --- a/actionview/test/fixtures/test/formatted_xml_erb.html.erb +++ /dev/null @@ -1 +0,0 @@ -passed formatted html erb \ No newline at end of file diff --git a/actionview/test/fixtures/test/formatted_xml_erb.xml.erb b/actionview/test/fixtures/test/formatted_xml_erb.xml.erb deleted file mode 100644 index 6ca09d5304..0000000000 --- a/actionview/test/fixtures/test/formatted_xml_erb.xml.erb +++ /dev/null @@ -1 +0,0 @@ -passed formatted xml erb \ No newline at end of file diff --git a/actionview/test/fixtures/test/greeting.html.erb b/actionview/test/fixtures/test/greeting.html.erb deleted file mode 100644 index 62fb0293f0..0000000000 --- a/actionview/test/fixtures/test/greeting.html.erb +++ /dev/null @@ -1 +0,0 @@ -

This is grand!

diff --git a/actionview/test/fixtures/test/hello,world.erb b/actionview/test/fixtures/test/hello,world.erb deleted file mode 100644 index bc8fa5e0ca..0000000000 --- a/actionview/test/fixtures/test/hello,world.erb +++ /dev/null @@ -1 +0,0 @@ -Hello w*rld! \ No newline at end of file diff --git a/actionview/test/fixtures/test/hello_world_container.builder b/actionview/test/fixtures/test/hello_world_container.builder deleted file mode 100644 index e48d75c405..0000000000 --- a/actionview/test/fixtures/test/hello_world_container.builder +++ /dev/null @@ -1,3 +0,0 @@ -xml.test do - render :partial => 'hello', :locals => { :xm => xml } -end \ No newline at end of file diff --git a/actionview/test/fixtures/test/hello_world_from_rxml.builder b/actionview/test/fixtures/test/hello_world_from_rxml.builder deleted file mode 100644 index 619a97ba96..0000000000 --- a/actionview/test/fixtures/test/hello_world_from_rxml.builder +++ /dev/null @@ -1,3 +0,0 @@ -xml.html do - xml.p "Hello" -end diff --git a/actionview/test/fixtures/test/hello_world_with_layout_false.erb b/actionview/test/fixtures/test/hello_world_with_layout_false.erb deleted file mode 100644 index 6769dd60bd..0000000000 --- a/actionview/test/fixtures/test/hello_world_with_layout_false.erb +++ /dev/null @@ -1 +0,0 @@ -Hello world! \ No newline at end of file diff --git a/actionview/test/fixtures/test/hello_xml_world.builder b/actionview/test/fixtures/test/hello_xml_world.builder deleted file mode 100644 index e7081b89fe..0000000000 --- a/actionview/test/fixtures/test/hello_xml_world.builder +++ /dev/null @@ -1,11 +0,0 @@ -xml.html do - xml.head do - xml.title "Hello World" - end - - xml.body do - xml.p "abes" - xml.p "monks" - xml.p "wiseguys" - end -end \ No newline at end of file diff --git a/actionview/test/fixtures/test/hyphen-ated.erb b/actionview/test/fixtures/test/hyphen-ated.erb deleted file mode 100644 index cd0875583a..0000000000 --- a/actionview/test/fixtures/test/hyphen-ated.erb +++ /dev/null @@ -1 +0,0 @@ -Hello world! diff --git a/actionview/test/fixtures/test/implicit_content_type.atom.builder b/actionview/test/fixtures/test/implicit_content_type.atom.builder deleted file mode 100644 index 2fcb32d247..0000000000 --- a/actionview/test/fixtures/test/implicit_content_type.atom.builder +++ /dev/null @@ -1,2 +0,0 @@ -xml.atom do -end diff --git a/actionview/test/fixtures/test/non_erb_block_content_for.builder b/actionview/test/fixtures/test/non_erb_block_content_for.builder deleted file mode 100644 index d539a425a4..0000000000 --- a/actionview/test/fixtures/test/non_erb_block_content_for.builder +++ /dev/null @@ -1,4 +0,0 @@ -content_for :title do - 'Putting stuff in the title!' -end -xml << "Great stuff!" diff --git a/actionview/test/fixtures/test/potential_conflicts.erb b/actionview/test/fixtures/test/potential_conflicts.erb deleted file mode 100644 index a5e964e359..0000000000 --- a/actionview/test/fixtures/test/potential_conflicts.erb +++ /dev/null @@ -1,4 +0,0 @@ -First: <%= @name %> -<%= render :partial => "person", :locals => { :name => "Stephan" } -%> -Fourth: <%= @name %> -Fifth: <%= name %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/proper_block_detection.erb b/actionview/test/fixtures/test/proper_block_detection.erb deleted file mode 100644 index b55efbb25d..0000000000 --- a/actionview/test/fixtures/test/proper_block_detection.erb +++ /dev/null @@ -1 +0,0 @@ -<%= @todo %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/render_file_from_template.html.erb b/actionview/test/fixtures/test/render_file_from_template.html.erb deleted file mode 100644 index fde9f4bb64..0000000000 --- a/actionview/test/fixtures/test/render_file_from_template.html.erb +++ /dev/null @@ -1 +0,0 @@ -<%= render :file => @path %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/render_implicit_html_template_from_xhr_request.da.html.erb b/actionview/test/fixtures/test/render_implicit_html_template_from_xhr_request.da.html.erb deleted file mode 100644 index 0740b2d07c..0000000000 --- a/actionview/test/fixtures/test/render_implicit_html_template_from_xhr_request.da.html.erb +++ /dev/null @@ -1 +0,0 @@ -Hey HTML! diff --git a/actionview/test/fixtures/test/render_implicit_html_template_from_xhr_request.html.erb b/actionview/test/fixtures/test/render_implicit_html_template_from_xhr_request.html.erb deleted file mode 100644 index 4a11845cfe..0000000000 --- a/actionview/test/fixtures/test/render_implicit_html_template_from_xhr_request.html.erb +++ /dev/null @@ -1 +0,0 @@ -Hello HTML! \ No newline at end of file diff --git a/actionview/test/fixtures/test/render_implicit_js_template_without_layout.js.erb b/actionview/test/fixtures/test/render_implicit_js_template_without_layout.js.erb deleted file mode 100644 index 892ae5eca2..0000000000 --- a/actionview/test/fixtures/test/render_implicit_js_template_without_layout.js.erb +++ /dev/null @@ -1 +0,0 @@ -alert('hello'); \ No newline at end of file diff --git a/actionview/test/fixtures/test/render_to_string_test.erb b/actionview/test/fixtures/test/render_to_string_test.erb deleted file mode 100644 index 6e267e8634..0000000000 --- a/actionview/test/fixtures/test/render_to_string_test.erb +++ /dev/null @@ -1 +0,0 @@ -The value of foo is: ::<%= @foo %>:: diff --git a/actionview/test/fixtures/test/using_layout_around_block.html.erb b/actionview/test/fixtures/test/using_layout_around_block.html.erb deleted file mode 100644 index 3d6661df9a..0000000000 --- a/actionview/test/fixtures/test/using_layout_around_block.html.erb +++ /dev/null @@ -1 +0,0 @@ -<%= render(:layout => "layout_for_partial", :locals => { :name => "David" }) do %>Inside from block<% end %> \ No newline at end of file diff --git a/actionview/test/fixtures/test/with_html_partial.html.erb b/actionview/test/fixtures/test/with_html_partial.html.erb deleted file mode 100644 index d84d909d64..0000000000 --- a/actionview/test/fixtures/test/with_html_partial.html.erb +++ /dev/null @@ -1 +0,0 @@ -<%= render :partial => "partial_only_html" %> diff --git a/actionview/test/fixtures/test/with_partial.html.erb b/actionview/test/fixtures/test/with_partial.html.erb deleted file mode 100644 index 7502364cf5..0000000000 --- a/actionview/test/fixtures/test/with_partial.html.erb +++ /dev/null @@ -1 +0,0 @@ -<%= render :partial => "partial_only" %> diff --git a/actionview/test/fixtures/test/with_partial.text.erb b/actionview/test/fixtures/test/with_partial.text.erb deleted file mode 100644 index 5f068ebf27..0000000000 --- a/actionview/test/fixtures/test/with_partial.text.erb +++ /dev/null @@ -1 +0,0 @@ -**<%= render :partial => "partial_only" %>** diff --git a/actionview/test/fixtures/test/with_xml_template.html.erb b/actionview/test/fixtures/test/with_xml_template.html.erb deleted file mode 100644 index e54a7cd001..0000000000 --- a/actionview/test/fixtures/test/with_xml_template.html.erb +++ /dev/null @@ -1 +0,0 @@ -<%= render :template => "test/greeting", :formats => :xml %> -- cgit v1.2.3 From c815775d01d12ba1e89ca26afd834a02437f7ab0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Strza=C5=82kowski?= Date: Mon, 17 Jun 2013 13:09:30 +0200 Subject: Copy company test fixture to AV (fixes failing test) --- actionview/test/fixtures/company.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 actionview/test/fixtures/company.rb (limited to 'actionview/test/fixtures') diff --git a/actionview/test/fixtures/company.rb b/actionview/test/fixtures/company.rb new file mode 100644 index 0000000000..f3ac3642fa --- /dev/null +++ b/actionview/test/fixtures/company.rb @@ -0,0 +1,9 @@ +class Company < ActiveRecord::Base + has_one :mascot + self.sequence_name = :companies_nonstd_seq + + validates_presence_of :name + def validate + errors.add('rating', 'rating should not be 2') if rating == 2 + end +end -- cgit v1.2.3 From 6241513736e3e5df4f2ae571e5df4a1ed4660d0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Strza=C5=82kowski?= Date: Mon, 17 Jun 2013 16:42:27 +0200 Subject: Fix digestor tests --- actionview/test/fixtures/digestor/messages/show.html.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'actionview/test/fixtures') diff --git a/actionview/test/fixtures/digestor/messages/show.html.erb b/actionview/test/fixtures/digestor/messages/show.html.erb index 51b3b61e8e..42aa2363dd 100644 --- a/actionview/test/fixtures/digestor/messages/show.html.erb +++ b/actionview/test/fixtures/digestor/messages/show.html.erb @@ -6,7 +6,8 @@ <%= render @message.history.events %> -<%# render "something_missing" %> +<%# render "something_missing" %> +<%# render "something_missing_1" %> <% # Template Dependency: messages/form -- cgit v1.2.3 From 08998d2eec0791a3ad38307d5fa54459b93bd775 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Strza=C5=82kowski?= Date: Thu, 20 Jun 2013 23:35:48 +0200 Subject: Restore mistakenly removed malformed file fixtures --- actionview/test/fixtures/test/hello_world.erb~ | 1 + actionview/test/fixtures/test/malformed/malformed.en.html.erb~ | 1 + actionview/test/fixtures/test/malformed/malformed.erb~ | 1 + actionview/test/fixtures/test/malformed/malformed.html.erb~ | 1 + actionview/test/fixtures/test/malformed/malformed~ | 1 + 5 files changed, 5 insertions(+) create mode 100644 actionview/test/fixtures/test/hello_world.erb~ create mode 100644 actionview/test/fixtures/test/malformed/malformed.en.html.erb~ create mode 100644 actionview/test/fixtures/test/malformed/malformed.erb~ create mode 100644 actionview/test/fixtures/test/malformed/malformed.html.erb~ create mode 100644 actionview/test/fixtures/test/malformed/malformed~ (limited to 'actionview/test/fixtures') diff --git a/actionview/test/fixtures/test/hello_world.erb~ b/actionview/test/fixtures/test/hello_world.erb~ new file mode 100644 index 0000000000..21934a1c95 --- /dev/null +++ b/actionview/test/fixtures/test/hello_world.erb~ @@ -0,0 +1 @@ +Don't pick me! \ No newline at end of file diff --git a/actionview/test/fixtures/test/malformed/malformed.en.html.erb~ b/actionview/test/fixtures/test/malformed/malformed.en.html.erb~ new file mode 100644 index 0000000000..d009950384 --- /dev/null +++ b/actionview/test/fixtures/test/malformed/malformed.en.html.erb~ @@ -0,0 +1 @@ +Don't render me! \ No newline at end of file diff --git a/actionview/test/fixtures/test/malformed/malformed.erb~ b/actionview/test/fixtures/test/malformed/malformed.erb~ new file mode 100644 index 0000000000..d009950384 --- /dev/null +++ b/actionview/test/fixtures/test/malformed/malformed.erb~ @@ -0,0 +1 @@ +Don't render me! \ No newline at end of file diff --git a/actionview/test/fixtures/test/malformed/malformed.html.erb~ b/actionview/test/fixtures/test/malformed/malformed.html.erb~ new file mode 100644 index 0000000000..d009950384 --- /dev/null +++ b/actionview/test/fixtures/test/malformed/malformed.html.erb~ @@ -0,0 +1 @@ +Don't render me! \ No newline at end of file diff --git a/actionview/test/fixtures/test/malformed/malformed~ b/actionview/test/fixtures/test/malformed/malformed~ new file mode 100644 index 0000000000..d009950384 --- /dev/null +++ b/actionview/test/fixtures/test/malformed/malformed~ @@ -0,0 +1 @@ +Don't render me! \ No newline at end of file -- cgit v1.2.3