-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix csv download bug for users and refactor and functional tests #5257
Fix csv download bug for users and refactor and functional tests #5257
Conversation
Generated by 🚫 Danger |
Hi @cesswairimu -- what do you think is up with CodeClimate saying there are similar blocks of code? But they're for different models, right? Can we ignore? https://codeclimate.com/github/publiclab/plots2/pull/5257 Thank you!!! |
Hey @jywarren I am looking into refactoring this also working on tests of the same as you suggested. Thanks |
b2b05fc
to
67d7bc1
Compare
67d7bc1
to
0b62e12
Compare
@jywarren implemented tests on this...kindly take a look |
This looks awesome @cesswairimu thank you! Sorry when I am a bit slow -- thanks for requesting a review from someone else -- a good idea! I just read through and this looks super! |
…liclab#5257) * Extract to_csv method in a module * refactor stats controller * add stats download tests
…liclab#5257) * Extract to_csv method in a module * refactor stats controller * add stats download tests
Fixes #5255 and #5264
rake test
@publiclab/reviewers
for help, in a comment below