aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/test/test_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* Use nil Logger for testsJon Moss2017-08-171-1/+1
| | | | | | | | | | | | | | | | Makes tests much more quietly, as opposed to the enormous amount of logging that appears right now. This setting is used in AJ, as well as other frameworks. Output from test run: ``` ......................................................... Finished in 3.003355s, 18.9788 runs/s, 45.2827 assertions/s. 57 runs, 136 assertions, 0 failures, 0 errors, 0 skips ```
* Use frozen string literal in Active StorageKoichi ITO2017-08-121-0/+2
|
* Merge pull request #30113 from dixpac/remove_unecessary_require_in_test_helperRafael França2017-08-111-2/+0
|\ | | | | ActiveStorage: Remove unnecessary require in test_helper
| * Remove unecessary require in test_helperdixpac2017-08-091-2/+0
| |
* | Run Active Storage tests in CI (#30144)George Claghorn2017-08-101-2/+11
|/
* Filter out Minitest backtrace.dixpac2017-08-071-0/+4
| | | | | Filter out Minitest backtrace while allowing backtrace from other libraries to be shown.
* Let ActiveStorage tests pass only for Diskclaudiob2017-08-011-1/+3
| | | | | | | | | | | | | | | | If you have a "service/configurations.yml" file, but every single line is commented out, then an error occurs when running tests: ``` git:active-storage-import~/code/rails/activestorage$ rake ~/code/rails/activestorage/test/test_helper.rb:17:in `<top (required)>': undefined method `deep_symbolize_keys' for false:FalseClass (NoMethodError) from ~/code/rails/activestorage/test/controllers/direct_uploads_controller_test.rb:1:in `require' ``` The reason is that `YAML.load(..an empty file content..)` simply returns `false`, and not `{}`. This PR fixes this behavior so tests can also run when no remote service is available.
* Setup travis to be able to run CI tests against S3David Heinemeier Hansson2017-07-311-1/+1
|
* Add 'activestorage/' from commit '3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58'Rafael Mendonça França2017-07-311-0/+54
git-subtree-dir: activestorage git-subtree-mainline: 0d58e7e478e79c2d6b2a39a4444d2a17a903b2a6 git-subtree-split: 3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58