Closed mccalluc closed 1 year ago
I hope we are not really minting new ARKs every time we run the tests.
state { "draft" }
here seems to eliminate the excess logging, though it introduces two test failures:
rspec ./spec/system/work_edit_spec.rb:157 # Creating and updating works change log displays changes
rspec ./spec/system/work_edit_spec.rb:131 # Creating and updating works when editing funding information allows the user to edit funding information
elsif !@work.editable_in_current_state?(current_user)
redirect_to root_path, notice: I18n.t("works.approved.uneditable")
work.state = "draft"
to just this test. No change.Not really an issue. We aren't minting real ARKs every time, we're faking it with webmock. Having these messages in the test logs isn't an issue.
Tests runs used to just be
.....
etc., but with the latest changes, I see this a dozen times:Not the end of the world, but with a lot of log noise during test runs it can be a bit harder to spot the real problems.