Skip to content
This repository was archived by the owner on Dec 8, 2020. It is now read-only.

Timber installation silences Rails test logΒ #196

@eostrom

Description

@eostrom

By default, Rails in the test environment logs to log/test.log. When I ran bundle exec timber install, it installed a Timber logger that logs to nil. This was confusing the next time I tried to figure out why a test was failing – where did my log go?

In my opinion you should take the same approach in test.rb that you do in development.rb, and emulate standard Rails behavior by logging to log/test.log.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions