using FactoryGirl to build unit tests
removed unused code
Removed flash[:notice] and added notice: