- Choose one of the following tracks:
- Skim/Read through the associated links
- Attempt to hook up and implement unit or feature js tests in your IdeaBox or this sample idea-bin project
- Fork this gist
- Respond with:
- Your experience implementing
- Were you successful?
- Links to commits on Github or copy and pasted code snippits of a test
/1602-testing-homework.markdown Secret
Created
July 5, 2016 15:33
-
-
Save Jbern16/32a6a98744929bdce30d4b7fc82fecd3 to your computer and use it in GitHub Desktop.
Testing Homework
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/Jbern16/ideabox/tree/master/spec/features
I implemented multiple features on my idea-box. Through trial and error, I was successful, for the most part. By combining wait_for_ajax and DB cleaner, I was able to successfully reflect upon DB changes in my test.
However, I did have a few problems with some tests. For one, I was not able to implement upvote, anytime I clicked upvote, it would get downvoted. I could not figure this bug out, but after learning about bubbling, I think that could be the problem.