Refactor specs

refactored the ruby specs, because they looked like they could use a little refactoring (and because i'd like to add some more specs, so i figured i'd attempt to push through a refactor first). also went ahead and upgraded from rspec 2 to rspec 3.