1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test/controller
Angelo capilleri 83223424b3 Removed :if and :unless from fragment cache option in favour of
cache_if(condition, option, &block) and cache_unless(condition, option, &block).

In the PR #8371 was introduced  conditional options :if and :unless in
the cache method.

    Example:

      <%= cache @model, if: some_condition(@model) do %>
        ...
      <%end%>

This is a good feature but *cache_if* and and *cache_unless*
are more concise and close to the standard of rails view helpers
(ex: link_to_if and link_to_unless).

    Example:

      <%= cache_if condition, @model do %>
      ...
      <%end%>
2012-12-14 17:51:52 +01:00
..
controller_fixtures
new_base update documentation and code to use _action callbacks 2012-12-07 14:46:06 -05:00
parameters hash filters should be accessed with symbols or strings 2012-11-30 11:24:16 -05:00
request
action_pack_assertions_test.rb assert_template: validating option keys 2012-11-25 23:39:08 -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 Add explicit opt-out for fragment cache digesting 2012-11-25 22:10:44 -06:00
capture_test.rb
content_type_test.rb
default_url_options_with_before_action_test.rb use _action callbacks in actionmailer 2012-12-08 10:21:20 -05:00
filters_test.rb Remove observers and sweepers 2012-11-28 22:46:49 -02:00
flash_hash_test.rb Store FlashHashes in the session as plain hashes rather than custom objects with unstable class names and instance variables. 2012-11-09 11:55:18 +00:00
flash_test.rb use _action instead of _filter callbacks 2012-12-07 15:24:56 -05: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 update documentation and code to use _action callbacks 2012-12-07 14:46:06 -05:00
http_digest_authentication_test.rb update documentation and code to use _action callbacks 2012-12-07 14:46:06 -05:00
http_token_authentication_test.rb update documentation and code to use _action callbacks 2012-12-07 14:46:06 -05: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
log_subscriber_test.rb Removed :if and :unless from fragment cache option in favour of 2012-12-14 17:51:52 +01:00
mime_responds_test.rb update documentation and code to use _action callbacks 2012-12-07 14:46:06 -05:00
output_escaping_test.rb
params_wrapper_test.rb start using options object 2012-11-13 16:35:15 -08: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
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
render_test.rb update documentation and code to use _action callbacks 2012-12-07 14:46:06 -05: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 use _action instead of _filter callbacks 2012-12-07 15:24:56 -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
selector_test.rb Move action_controller/vendor/html-scanner to action_view 2012-08-28 10:51:03 +02:00
send_file_test.rb Accept symbols as #send_data :disposition value 2012-11-27 00:21:12 +01:00
show_exceptions_test.rb update documentation and code to use _action callbacks 2012-12-07 14:46:06 -05: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
test_case_test.rb Use File.join to better integrate fixture_path in fixture_file_upload. 2012-11-26 17:50:57 -06: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 update documentation and code to use _action callbacks 2012-12-07 14:46:06 -05:00
webservice_test.rb Remove default match without specified method 2012-04-24 22:52:26 -05:00