aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/test/test_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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