Refactor

Changed the Gemfile to use rubygems.org; otherwise, you get a deprecation warning.

Refactored the specs to use `#let` instead of instance variables.