Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename
fixture_file_upload
method to file_fixture_upload
The naming difference between the test harness' [file_fixture][] helper made available through Active Support (along with the `file_fixture_path` configuration value) and the integration test harness' [fixture_file_upload][] is a constant source of confusion and surprise. Since Active Support is more ubiquitous, this commit renames the `fixture_file_upload` method to `file_fixture_upload` to match the order of words in `file_fixture` and `file_fixture_path`. To preserve backwards compatibility, declare a `fixture_file_upload` alias to be preserved into the future (or removed at a future point in time). [file_fixture]: https://edgeapi.rubyonrails.org/classes/ActiveSupport/Testing/FileFixtures.html#method-i-file_fixture [fixture_file_upload]: https://edgeapi.rubyonrails.org/classes/ActionDispatch/TestProcess/FixtureFile.html#method-i-fixture_file_upload
- Loading branch information
1 parent
a167350
commit 6cafc49
Showing
3 changed files
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters