this should be in a module and included in the `spec_helper.rb`

http://stackoverflow.com/questions/9445410/how-to-include-rails-helpers-on-rspec