Skip to content

Add condense_logs to quickbooks config & update logs to only log once… - #6

Merged
andymond merged 2 commits into
masterfrom
FINTECHQB-944-add-condense-logs-option
Mar 2, 2022
Merged

Add condense_logs to quickbooks config & update logs to only log once…#6
andymond merged 2 commits into
masterfrom
FINTECHQB-944-add-condense-logs-option

Conversation

@andymond

Copy link
Copy Markdown

Add condense_logs option to Quickbooks to move logger calls down from 10 to 2 if desired. Update tests accordingly.

Quickbooks.log_xml_pretty_print = true
end

it 'should log once for request and once for response if Quickbooks.condense_logs = true' do

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can use context.

@andymond andymond Mar 2, 2022

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agreed, but I feel like introducing context blocks here adds a new pattern to the testing suite that's should be applied more generally rather than as a 1 off, which is why I stuck w the it block

@andymond
andymond merged commit 353f7a2 into master Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants