rails--rails/actionpack/test/fixtures
Erik Ostrom 8ffc2e3b8d Ported the new ActionView::TestCase from 2-3-stable to master [#3260
state:resolved]

The test case now mimicks the template environment more closely, so it's
possible to use render, load helper dependencies.

This also fixes assert_select, and similar assertions. Because view tests
and helpers generally don't render full templates assert_select looks
first in rendered and then in output_buffer to find the rendered output.

Additional `master'-only changes: Made the Action Pack Rakefile run the
ActionView::TestCase tests, and made ActionView::Rendering#_render_text
always return a string.

Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-09-28 13:31:30 -05:00
..
addresses Purge empty files 2007-09-11 19:54:06 +00:00
alternate_helpers Allow helpers directory to be overridden via ActionController::Base.helpers_dir (Sam Pohlenz) [#1424 state:committed] 2008-11-23 13:42:53 +01:00
bad_customers Missed adds. References #11491. 2008-04-01 00:56:59 +00:00
customers Ooops. Add fixture partials for last commit 2008-02-08 22:33:17 +00:00
db_definitions Added test for has_one partial rendering (keeran) [#43 state:resolved] 2008-04-30 14:59:24 -05:00
developers Improve test coverage and create fixtures for RenderPartialWithRecordIdentificationTests 2008-07-12 12:17:10 -05:00
fun Improve test coverage and create fixtures for RenderPartialWithRecordIdentificationTests 2008-07-12 12:17:10 -05:00
functional_caching Improved test coverage for fragment cache helper 2008-07-15 20:54:17 -05:00
good_customers Missed adds. References #11491. 2008-04-01 00:56:59 +00:00
happy_path/render_action Started implementing render :action 2009-03-19 13:35:39 -07:00
helpers Added helper(:all) as a way to include all helpers from app/helpers/**/*.rb in ApplicationController [DHH] 2007-02-24 20:31:34 +00:00
layout_tests Implemented layout conditions in new base 2009-05-21 18:14:20 -07:00
layouts Drive the final stake through @content_for_*'s heart! 2009-06-17 18:08:45 -07:00
mascots Forgot these 2008-04-30 15:00:59 -05:00
multipart Allow empty files to be uploaded 2009-01-20 20:34:35 -06:00
old_content_type Avoid conflicts with another ContentTypeController used in testing 2009-09-19 12:50:14 -05:00
override/test Purge empty files 2007-09-11 19:54:06 +00:00
override2/layouts/test add missing layouts from [7321] 2007-08-15 21:12:50 +00:00
post_test Fixed the layout defaults (closes #9564) [lifo] 2007-09-28 01:23:20 +00:00
projects Improve test coverage and create fixtures for RenderPartialWithRecordIdentificationTests 2008-07-12 12:17:10 -05:00
public Move Rails::Static into ActionDispatch 2009-09-26 11:37:42 -05:00
quiz/questions Fixed simplified render with nested models [#2042 state:resolved] 2009-03-07 14:05:18 -06:00
replies Improve test coverage and create fixtures for RenderPartialWithRecordIdentificationTests 2008-07-12 12:17:10 -05:00
respond_to Please do remember 2007-09-25 16:40:56 +00:00
respond_with Add nagivational behavior to respond_with. 2009-08-07 17:16:15 +02:00
scope/test Purge empty files 2007-09-11 19:54:06 +00:00
symlink_parent Fix layouts in symlinked paths. Closes #9136 [court3nay, caio] 2008-03-28 20:54:26 +00:00
test Ported the new ActionView::TestCase from 2-3-stable to master [#3260 2009-09-28 13:31:30 -05:00
topics Ooops. Add fixture partials for last commit 2008-02-08 22:33:17 +00:00
_top_level_partial.html.erb Fix rendering partials at the top level [#795 state:resolved] 2008-08-13 19:15:35 -05:00
_top_level_partial_only.erb Fix rendering partials at the top level [#795 state:resolved] 2008-08-13 19:15:35 -05:00
companies.yml * Fix pagination problems when using include 2006-02-09 09:17:40 +00:00
company.rb Added test for has_one partial rendering (keeran) [#43 state:resolved] 2008-04-30 14:59:24 -05:00
developer.rb Fixed that has_many :through associations should render as collections too (closes #9051) [mathie/danger] 2007-11-12 15:02:12 +00:00
developers.yml * Fix pagination problems when using include 2006-02-09 09:17:40 +00:00
developers_projects.yml * Fix pagination problems when using include 2006-02-09 09:17:40 +00:00
mascot.rb Forgot these 2008-04-30 15:00:59 -05:00
mascots.yml Forgot these 2008-04-30 15:00:59 -05:00
project.rb * Fix pagination problems when using include 2006-02-09 09:17:40 +00:00
projects.yml * Fix pagination problems when using include 2006-02-09 09:17:40 +00:00
replies.yml Remove the irrelevant fixture added in fe6ffce51d 2009-01-24 18:22:17 +00:00
reply.rb Fixed render :partial => @collection.named_scope (nkallen) [#61 state:resolved] 2008-04-30 14:42:44 -05:00
shared.html.erb Fixed render :template for templates in top level of view path. [#54 state:resolved] 2008-05-01 10:21:46 +01:00
topic.rb render :partial recognizes Active Record associations as Arrays. Closes #8538. 2007-06-01 03:53:39 +00:00
topics.yml * Fix pagination problems when using include 2006-02-09 09:17:40 +00:00