You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1) MyClass#initialize when level is invalid when output to stdout warns
Failure/Error: subject(:logged) { capture(:stdout) { instance } }
TypeError:
can't convert Tempfile into StringIO
I have zeroed in on the culprit as the setting of the environment variable CI_CAPTURE. If I run my tests through the ci_reporter rake task (ci:setup:rspec), and do not set CI_CAPTURE, my output tests fail because the output is a Tempfile instead of a String.
If I set CI_CAPTURE=off then it works fine.
The text was updated successfully, but these errors were encountered:
I have zeroed in on the culprit as the setting of the environment variable
CI_CAPTURE
. If I run my tests through the ci_reporter rake task (ci:setup:rspec
), and do not setCI_CAPTURE
, my output tests fail because the output is aTempfile
instead of aString
.If I set
CI_CAPTURE=off
then it works fine.The text was updated successfully, but these errors were encountered: