updated spec/controllers/application_controller_spec.rb