docbrown/spec
Vaidehi Joshi c7a1bd9449
Fix logging for dev and test environments (#5922)
* Fix logging for dev and test environments

We had some unused code for Timber in our config files for development and test.
However, this was completely clobbering Rails' default behavior of logging out to log/development.log and log/test.log. We should allow for logging in these environments in particular, and since we're not using Timber there, we can just revert to using the Rails default debugging log levels.

* Add Timber logger to specs that explicitly require it

* Restore default Rails.logger in specs using Timber logger

* Explicitly use Rails.logger in OmniauthCallbacksController

We seem to have different logger classes leaking into this controller in tests.
I'm not entirely sure why this is/haven't been able to investigate yet, but I do think we should be using the Rails.logger explicitly until we can figure that out.
2020-02-07 10:15:08 -05:00
..
black_box Adjust type tags for RSpec (#4864) 2019-11-20 13:01:30 -05:00
decorators Fix rubocop complaints (#5769) 2020-01-27 16:58:23 -05:00
factories User counters using PostgreSQL JSON (#5373) [deploy] 2020-02-03 10:35:08 -05:00
fixtures Creating podcasts by users (#3730) [deploy] 2020-01-08 16:14:25 -05:00
helpers Fix linting (#4933) [deploy] 2019-11-26 08:35:34 -05:00
initializers Hookup Elasticsearch in travis (#5871) 2020-02-04 08:20:14 -05:00
jobs Move Podcasts::GetEpisodesJob to Sidekiq (#5443) [deploy] 2020-02-06 09:42:55 -08:00
labor Add mod channel automation to tags (#5731) [deploy] 2020-02-06 16:27:12 -05:00
lib Increase cache TTL for social preview images (#5471) [deploy] 2020-01-17 17:06:06 -05:00
liquid_tags Refactor ProfileImage (#5803) 2020-02-07 08:56:16 -05:00
mailers [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
models Add mod channel automation to tags (#5731) [deploy] 2020-02-06 16:27:12 -05:00
observers Move SlackBotPingJob to Sidekiq (#5615) 2020-01-22 08:24:33 -05:00
policies Fix Rubocop lints (#5155) 2019-12-19 10:09:37 -05:00
requests Ensure user is authenticated before doing onboarding Actions (#5937) 2020-02-07 09:56:29 -05:00
routing Enabled rubocop/lint (#2130) 2019-03-21 10:53:44 -04:00
services Fix logging for dev and test environments (#5922) 2020-02-07 10:15:08 -05:00
support Fix error handling bugs in stackexchange tag (#5490) 2020-01-20 14:43:25 -05:00
system Fix logging for dev and test environments (#5922) 2020-02-07 10:15:08 -05:00
uploaders Adjust type tags for RSpec (#4864) 2019-11-20 13:01:30 -05:00
views Improve test speed (#3957) [ci skip] 2019-09-12 16:17:20 -04:00
workers Fix logging for dev and test environments (#5922) 2020-02-07 10:15:08 -05:00
rails_helper.rb Add Code To Setup the Elasticsearch Tag Index (#5919) [deploy] 2020-02-06 11:46:11 -05:00
spec_helper.rb Temporarily comment out random (#2486) 2019-04-18 11:56:38 -04:00