sarlaf/bedazzledbaldachin — pull request #36 by sarlaf (2013-11-16 18:32:06+00:00)
Title: Updates, Refactoring, Tests!

Lots going on here. Here's a breakdown:

##Tests
-Added gem sms-spec to allow for testing outgoing sms messages

##JS
-Adding underscore
-Changing append user to use underscore template
-Changing create user to append new user rather than get all users

##Event Show Page
-Start and stop party buttons show appropriately based on party state
-End party button redirects user back to events index
-Adding passphrase to show page

##Events Controller
-Removing ability to restart a party
-Moving first round of party messages to event.start method
-Adding html response for redirect

##Events Helper
-Moving send_text method to player model

##Event Model
-Making sure all wordniks will always be downcase
-Adding functionality to event.start to send first round of messages
-Adding functionality to event.end to leave all current players

##Players Controller
-Updating so json response is only the newly created player, due to JS append updates

##Player Model
-Adding send_text method for a player

##Twilios Helper
-Changing search for player to only include current players, not players with an end time
-Changing passphrase join to only look for active events
-Moving leave functionality to the player model

##CSS
-Adding styling for hidden and passphrase div

##Specs
-Adding tests for all active record relationships and model validations
-Adding tests for new model methods
-Adding tests for sms verification