Fixed syntax issues to get tests running again

Have a look through the diffs to see what changed.
It's mainly syntax tweaks, but I also fixed up your association.
Don't worry, we all do it.
Consider installing a linter plugin for your text editor. They can help to catch these sorts of errors.

For sublime text:
http://www.sublimelinter.com/en/latest/
https://github.com/SublimeLinter/SublimeLinter-ruby