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
Eugene Kenny a7b548a0e9 Fix fixture_file_upload deprecation with relative file_fixture_path
When using `Pathname#relative_path_from`, the receiver and the argument
must either both be absolute or both be relative:

https://ruby-doc.org/stdlib-2.7.2/libdoc/pathname/rdoc/Pathname.html#method-i-relative_path_from

> If self is absolute, then base_directory must be absolute too.
>
> If self is relative, then base_directory must be relative too.

If `file_fixture_path` is a relative path and `fixture_path` is an
absolute path, this line would previously raise an ArgumentError.
2021-01-09 19:14:12 +00:00
..
api Use binread instead of setting file mode manually 2020-05-13 00:05:32 +01:00
controller_fixtures
metal
mime Mime::Mimes#symbols should return a always up to date reference: 2020-01-02 18:05:33 +01:00
new_base Remove deprecated support to passing relative paths to render file: 2020-10-30 00:25:14 +00:00
parameters Make inspect look more like regular Object#inspect 2020-05-29 21:53:35 +02:00
request
action_pack_assertions_test.rb
base_test.rb URL helper methods on controllers are public methods 2020-09-16 12:15:24 +09:00
caching_test.rb Auto-correct rubocop offences 2019-11-24 09:54:47 +09:00
content_type_test.rb
default_url_options_with_before_action_test.rb
filters_test.rb Remove redundant begin blocks 2020-10-22 17:11:26 +09:00
flash_hash_test.rb
flash_test.rb AC::Base#flash is a public method 2020-09-16 12:15:23 +09:00
form_builder_test.rb
helper_test.rb Make NameError#missing_name work even for real Ruby NameError 2020-05-08 17:08:38 +02:00
http_basic_authentication_test.rb
http_digest_authentication_test.rb
http_token_authentication_test.rb
integration_test.rb Update follow_redirect! to reuse same HTTP verb for 308 redirections. 2020-06-18 10:24:20 +08:00
live_stream_test.rb feat(rubocop): Add Style/RedundantRegexpEscape 2020-12-08 18:57:09 +00:00
localized_templates_test.rb
log_subscriber_test.rb Add match 302 http code for log in redirect_to 2020-01-04 22:29:45 -03:00
logging_test.rb
metal_test.rb Shorten inspect on AbstractController::Base 2020-09-05 19:37:31 +02:00
output_escaping_test.rb
parameter_encoding_test.rb Deduplicate some routing data 2020-06-30 18:32:31 +02:00
params_parse_test.rb
params_wrapper_test.rb Adds support to wrap aliased attributed in object hash in params wrapper. 2020-01-20 02:45:40 +05:30
permitted_params_test.rb
redirect_test.rb Get rid of the cumbersome fallback_location keyword argument for redirect_back (#40671) 2020-11-24 10:17:11 +01:00
render_js_test.rb Change ActionDispatch::Response#content_type to return the full Content-Type header 2020-10-30 00:25:49 +00:00
render_json_test.rb Change ActionDispatch::Response#content_type to return the full Content-Type header 2020-10-30 00:25:49 +00:00
render_test.rb Remove deprecated support to passing relative paths to render file: 2020-10-30 00:25:14 +00:00
render_xml_test.rb Change ActionDispatch::Response#content_type to return the full Content-Type header 2020-10-30 00:25:49 +00:00
renderer_test.rb Remove deprecated support to passing relative paths to render file: 2020-10-30 00:25:14 +00:00
renderers_test.rb Revert "Raise when calling render with invalid options" 2020-10-29 13:49:30 -07:00
request_forgery_protection_test.rb Change ActionDispatch::Response#content_type to return the full Content-Type header 2020-10-30 00:25:49 +00:00
required_params_test.rb Add DidYouMean for ParameterMissing 2020-05-19 10:50:24 +02:00
rescue_test.rb
resources_test.rb Named routes are public methods 2020-10-02 12:55:17 +09:00
route_helpers_test.rb [ci skip] Fix a typo in the comment 2019-12-15 00:36:28 +01:00
routing_test.rb Revert "actionpack: Improve performance by allowing routes with custom regexes in the FSM." 2021-01-05 22:21:53 +00:00
runner_test.rb
send_file_test.rb Use binread instead of setting file mode manually 2020-05-13 00:05:32 +01:00
show_exceptions_test.rb
streaming_test.rb
test_case_test.rb Fix fixture_file_upload deprecation with relative file_fixture_path 2021-01-09 19:14:12 +00:00
url_for_integration_test.rb
url_for_test.rb URL helper methods on controllers are public methods 2020-09-16 12:15:24 +09:00
url_rewriter_test.rb
webservice_test.rb