rails/actionpack/test/controller
Yves Senn af677da84c can't pass :locals to #assert_template without a view test case. Closes #3415
the documentation on #assert_template states that the :locals option is
only available in view test cases:

    # In a view test case, you can also assert that specific locals are passed
    # to partials:

I added a warning when it's passed in an inapropriate context to prevent
a NoMethodError.
2012-10-06 12:23:02 +02:00
..
controller_fixtures New routes implementation. Simpler, faster, easier to understand. The published API for config/routes.rb is unchanged, but nearly everything else is different, so expect breakage in plugins and libs that try to fiddle with routes. 2006-06-01 15:42:08 +00:00
new_base Use ActionView::Base.logger instead of AC::Base.logger 2012-08-28 10:51:05 +02:00
parameters Allow parameter filters to match multi-parameter attributes 2012-10-05 18:25:45 -03:00
request cleaning up some warnings on 1.9.3 2011-02-07 16:44:27 -08:00
action_pack_assertions_test.rb assert_template no more passing with what ever string that matches. 2012-09-29 23:31:49 -03:00
assert_select_test.rb Define a SynchronousQueue for test in Action Pack. 2012-09-12 15:33:42 -03:00
base_test.rb Deprecate AV::RecordIdentifier in controllers 2012-08-28 11:19:37 +02:00
caching_test.rb rename page_cache_extension option to default_static_extension 2012-10-03 15:35:19 -05:00
capture_test.rb Remove rescue_action from compatibility module and tests 2012-01-17 10:04:37 -02:00
content_type_test.rb Remove deprecated default_charset= from AC::Base 2012-01-17 10:04:39 -02:00
default_url_options_with_filter_test.rb it's -> its 2011-12-15 12:57:33 -08:00
filters_test.rb AS::Callbacks: deprecate monkey patch of object callbacks 2012-09-07 14:42:31 +03:00
flash_hash_test.rb mutations on the underlying hash should also mutate the discard set 2011-12-28 18:33:44 -08:00
flash_test.rb Use "instance_accessor" for flash types class attribute 2012-07-07 09:16:48 -03:00
force_ssl_test.rb Extracted redirect logic from ActionController::Force::ClassMethods.force_ssl 2012-05-31 12:39:28 -04:00
helper_test.rb stop to_sing method names 2012-06-06 19:33:38 +09:00
http_basic_authentication_test.rb remove ActiveSupport::Base64 in favor of ::Base64 2012-01-02 22:48:15 +03:00
http_digest_authentication_test.rb Fix for digest authentication bug - issue #2301 in rails/rails 2012-08-02 15:24:08 -04:00
http_token_authentication_test.rb Fix indentation. 2012-07-11 02:07:25 +02:00
integration_test.rb Move action_controller/vendor/html-scanner to action_view 2012-08-28 10:51:03 +02:00
layout_test.rb Remove warning renaming the test classes to use the test convention 2012-07-29 17:47:05 -03:00
live_stream_test.rb make sure the body finishes rendering before checking response closure 2012-08-03 00:27:39 -04:00
localized_templates_test.rb Fixed that default locale templates should be used if the current locale template is missing [DHH] 2010-04-08 18:11:26 -07:00
log_subscriber_test.rb extract AP Page and Action caching to actionpack-deprecated_caching gem 2012-10-03 11:14:28 -05:00
mime_responds_test.rb removes usage of Object#in? from the code base (the method remains defined by Active Support) 2012-08-06 00:30:02 +02:00
output_escaping_test.rb code gardening: we have assert_(nil|blank|present), more concise, with better default failure messages - let's use them 2010-08-17 03:32:11 +02:00
params_wrapper_test.rb Remove integration between attr_accessible/protected and AC::Metal::ParamsWrapper 2012-09-16 23:58:20 -05:00
permitted_params_test.rb Change tainted/untainted wording to permitted/forbidden 2012-09-16 23:58:21 -05:00
redirect_test.rb Remove default match without specified method 2012-04-24 22:52:26 -05:00
render_js_test.rb removes support for render :update 2011-04-13 13:23:17 +02:00
render_json_test.rb Add changelog entry for jsonp mimetype change, fix failing test 2012-04-29 12:01:05 -03:00
render_other_test.rb removes support for render :update 2011-04-13 13:23:17 +02:00
render_test.rb can't pass :locals to #assert_template without a view test case. Closes #3415 2012-10-06 12:23:02 +02:00
render_xml_test.rb Remove default match without specified method 2012-04-24 22:52:26 -05:00
request_forgery_protection_test.rb Implement :null_session CSRF protection method 2012-09-13 12:07:37 +03:00
required_params_test.rb Integrate ActionController::Parameters from StrongParameters gem 2012-09-16 23:58:19 -05:00
rescue_test.rb Remove default match without specified method 2012-04-24 22:52:26 -05:00
resources_test.rb Extract common controllers to abstract_unit 2012-08-13 21:43:18 -03:00
routing_test.rb Add Missing Keys from Journey on failed URL format 2012-08-28 08:53:45 -07:00
runner_test.rb AP tests should inherit from AS::TestCase 2012-01-05 17:05:44 -08:00
selector_test.rb Move action_controller/vendor/html-scanner to action_view 2012-08-28 10:51:03 +02:00
send_file_test.rb flushing output should write to the stream rather than mutating the response object 2012-07-29 17:02:00 -07:00
show_exceptions_test.rb Failsafe exception returns text/plain. 2012-10-01 21:30:21 -07:00
spec_style_test.rb Allow strings in the controller test describe blocks 2012-09-24 14:21:47 -06:00
spec_type_test.rb remove method redefinition warnings 2012-09-27 18:44:25 -03:00
streaming_test.rb remove dead test 2012-07-29 16:00:50 -07:00
sweeper_test.rb Don't ignore call to undefined method in Sweeper 2012-03-06 16:24:04 +00:00
test_case_test.rb Merge branch 'master' into testclean 2012-07-05 14:03:57 -07:00
url_for_integration_test.rb Remove default match without specified method 2012-04-24 22:52:26 -05:00
url_for_test.rb Remove warning renaming the test classes to use the test convention 2012-07-29 17:47:05 -03:00
url_rewriter_test.rb this test is not a controller test, so switch to AS::TC 2012-07-28 20:30:52 -07:00
view_paths_test.rb Remove rescue_action from compatibility module and tests 2012-01-17 10:04:37 -02:00
webservice_test.rb Remove default match without specified method 2012-04-24 22:52:26 -05:00