whitmer/canvabadges — pull request #3 by Kulgar (2013-09-13 15:04:36+00:00)
Title: Solved issue #2 and modified views_spec.rb so that tests can still be green

Here is the fix.

I've also modified the views_spec file as the tests were also using the "type" attribute.
I've refactored the views_spec file a little bit so that the "enrollments" hash can now be easily modified.