CoursesController specs refactoring
Update rails to 4.0.2 version