Fix Contribution Analytics and move test to Rspec.
Apparently Spinach tests don't fail when there are JS errors, which is why this didn't get caught earlier. Changing the test to Rspec should future-proof it.
Fixes #871 (closed).
To test:
- Boot up EE, go to
http://localhost:3001/groups/twitter/analytics
- If it doesn't throw any errors in the JS console, it's fixed.
I don't think this is worth an 8.10.x release unless we're already planning on doing another.