hackathon-manager icon indicating copy to clipboard operation
hackathon-manager copied to clipboard

Refactor tests to use default factory data instead of using dummy input

Open peterkos opened this issue 5 years ago • 0 comments

For example, https://github.com/codeRIT/hackathon-manager/blob/05d50bb2510bde365897f0cc3219e294589bec88/test/helpers/audit_helper_test.rb#L17-L22

should be refactored down to use defaults found in the user factory.

Also, we should refactor all inline JSON in tests to not be on a single line in this PR. They're really hard to read!

peterkos avatar Aug 30 '20 04:08 peterkos