- Eliminate duplication in spec_helper.rb
- Use Ruby 1.8 hash syntax