Skip to content
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

Removing problematic Warpable test #628

Closed
wants to merge 1 commit into from

Conversation

alaxalves
Copy link
Member

@alaxalves alaxalves commented May 22, 2019

Fixes #627

Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!

  • PR is descriptively titled 📑 and links the original issue above 🔗
  • tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR -- or run tests locally with rake test
  • code is in uniquely-named feature branch and has no merge conflicts 📁
  • screenshots/GIFs are attached 📎 in case of UI updation
  • ask @publiclab/reviewers for help, in a comment below

We're happy to help you get this ready -- don't be afraid to ask for help, and don't be discouraged if your tests fail at first!

If tests do fail, click on the red X to learn why by reading the logs.

Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software

Thanks!

@codeclimate
Copy link

codeclimate bot commented May 22, 2019

Code Climate has analyzed commit 40beec4 and detected 0 issues on this pull request.

View more on Code Climate.

@codecov
Copy link

codecov bot commented May 22, 2019

Codecov Report

Merging #628 into main will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #628   +/-   ##
=======================================
  Coverage   72.19%   72.19%           
=======================================
  Files          31       31           
  Lines        1255     1255           
=======================================
  Hits          906      906           
  Misses        349      349

@alaxalves
Copy link
Member Author

Codecov Report

Merging #628 into main will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #628   +/-   ##
=======================================
  Coverage   72.19%   72.19%           
=======================================
  Files          31       31           
  Lines        1255     1255           
=======================================
  Hits          906      906           
  Misses        349      349

@jywarren @sashadev-sky According to this the test I have removed was not testing anything in our current code base.

Copy link
Member

@sashadev-sky sashadev-sky left a comment

Choose a reason for hiding this comment

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

@jywarren really has to make the call on this

Note it is meant to be testing export functionality and exists outside of the scope of the database. But as we've made a lot of progress in hooking it up to a cloud-based system maybe its time we can remove this? Or re-write it?

@@ -49,16 +49,4 @@ def setup
assert_not_nil @warp.user_id
assert_equal @warp.map.user_id, @warp.user_id
end

test "try export" do
Copy link
Member

Choose a reason for hiding this comment

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

Just a small observation. I guess we should try to make a standard for test naming, and use only either single or double quotes :)

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm kinda trying to solve those code pattern issues by enforcing a style guide(rubocop) in #547

Copy link
Member

Choose a reason for hiding this comment

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

Sounds great, thank you!

@alaxalves
Copy link
Member Author

@jywarren Could you please take a look at this? It's blocking my other MR at #605

@cesswairimu
Copy link
Collaborator

cesswairimu commented May 28, 2019

@alaxalves check out Jeff's comment on #578 (comment).

@alaxalves
Copy link
Member Author

@alaxalves check out Jeff's comment on #578 (comment).

Thnx Cess, I'll close this for now.

@alaxalves alaxalves closed this May 28, 2019
@alaxalves alaxalves deleted the removing-test branch June 3, 2019 19:41
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.

Warpable test failing
4 participants