Closed smileart closed 3 years ago
This PR addresses an issue https://github.com/serpapi/turbo_tests/issues/3 by adding the context output with proper indentation through RSpec's standard DocumentationFormatter methods.
DocumentationFormatter
I added the sample code right to the specs to simplify at least the visual validation of the solution. You can test it by running:
bundler exec turbo_tests --format=documentation
Which with this fix in place is supposed to output the following:
This PR addresses an issue https://github.com/serpapi/turbo_tests/issues/3 by adding the context output with proper indentation through RSpec's standard
DocumentationFormatter
methods.I added the sample code right to the specs to simplify at least the visual validation of the solution. You can test it by running:
Which with this fix in place is supposed to output the following: