Rails engines testing with logs

I am having trouble in understanding how can I check the logs for a test
inside of an engine. So My setup is the typical example, with a main app
and engine. Inside of the engine I have a dummy application(inside the
rspec folder) that I use to test my engine.

Now I am construction a lib file and would like to test it. This lib is
communication system to an API and I am getting problems when
but it’s weird since I have another application making the same requests
the same API and it works. So I wanted to check the logs for the
tests(so I
can see the request and the messages being passed to the API).

My first thought was to look for a log folder at the engine, which does
exist??? second I thought maybe the main application(just to clear that
of the way), obviously the logs there were not logging anything. Then I
thought it could make sense if the dummy application had some logs and
does. The test.log, but that does not log anything.

Now just as detail, I am running my tests with guard & rspec.

let me know if you have some light on this or any other thoughts that

all the best,


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs