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
Petrik c9cb1aa198 Silence uninitialized instance var warning in tests
Running the Action Pack tests outputs a warning:

    ./actionpack/test/controller/test_case_test.rb:1007: warning: instance variable @counter not initialized

Surrounding the line with silence_warnings cleans up the output.
2022-02-10 16:31:02 +01:00
..
api
controller_fixtures
metal
mime
new_base Replaces the "hash rocket" operator in favor of the newer Ruby syntax when rendering on render 2021-10-03 23:33:56 -03:00
parameters Initialize ActionController::Parameters with @logging_context 2021-12-16 23:11:49 +09:00
request
action_pack_assertions_test.rb
base_test.rb Change default X-XSS-Protection header to '0' 2021-09-14 14:14:21 +01:00
caching_test.rb
content_type_test.rb
default_url_options_with_before_action_test.rb
filters_test.rb
flash_hash_test.rb
flash_test.rb Exclude added flash types from action_methods 2021-07-14 08:35:27 +02:00
form_builder_test.rb
helper_test.rb Setup the once autoloader on bootstrap 2021-08-17 05:23:51 +02:00
http_basic_authentication_test.rb Check basic auth credentials contains a colon 2021-09-16 00:29:34 +03:00
http_digest_authentication_test.rb Always use OpenSSL constants for Digest operations 2021-06-30 13:57:54 +02:00
http_token_authentication_test.rb
integration_test.rb
live_stream_test.rb Enable Style/ExplicitBlockArgument cop 2021-09-05 17:06:19 +02:00
localized_templates_test.rb
log_subscriber_test.rb
logging_test.rb
metal_test.rb Change default X-XSS-Protection header to '0' 2021-09-14 14:14:21 +01:00
output_escaping_test.rb
parameter_encoding_test.rb
params_parse_test.rb
params_wrapper_test.rb
permitted_params_test.rb
redirect_test.rb Raise ActionController::Redirecting::UnsafeRedirectError for unsafe redirect_to redirects. 2021-11-05 03:23:12 +01:00
render_js_test.rb
render_json_test.rb Add a test to catch regressions for render_to_string to not override subsequent render 2021-08-23 20:40:21 +01:00
render_test.rb Enable Style/ExplicitBlockArgument cop 2021-09-05 17:06:19 +02:00
render_to_string_test.rb Add a test to catch regressions for render_to_string to not override subsequent render 2021-08-23 20:40:21 +01:00
render_xml_test.rb
renderer_test.rb
renderers_test.rb
request_forgery_protection_test.rb Remove the deprecated urlsafe_csrf_tokens configuration 2022-02-01 10:35:43 +01:00
required_params_test.rb Clean up checks to see if DidYouMean is defined 2021-07-04 13:43:50 +02:00
rescue_test.rb
resources_test.rb
route_helpers_test.rb
routing_test.rb Enable Lint/DuplicateMethods rubocop rule 2021-11-15 13:51:28 -05:00
runner_test.rb
send_file_test.rb Remove IE6-7-8 file download related hack/fix 2021-06-25 19:15:19 +01:00
show_exceptions_test.rb
streaming_test.rb
test_case_test.rb Silence uninitialized instance var warning in tests 2022-02-10 16:31:02 +01:00
url_for_integration_test.rb
url_for_test.rb Consider AC::Parameters as Hash in url_for 2021-06-25 18:07:48 +02:00
url_rewriter_test.rb
webservice_test.rb