@@ -175,7 +175,7 class ProjectEnumerationsControllerTest < ActionController::TestCase | |||||
175 | }) |
|
175 | }) | |
176 | assert project_activity.save |
|
176 | assert project_activity.save | |
177 | assert TimeEntry.update_all("activity_id = '#{project_activity.id}'", ["project_id = ? AND activity_id = ?", 1, 9]) |
|
177 | assert TimeEntry.update_all("activity_id = '#{project_activity.id}'", ["project_id = ? AND activity_id = ?", 1, 9]) | |
178 | assert 3, TimeEntry.find_all_by_activity_id_and_project_id(project_activity.id, 1).size |
|
178 | assert_equal 3, TimeEntry.find_all_by_activity_id_and_project_id(project_activity.id, 1).size | |
179 |
|
179 | |||
180 | delete :destroy, :project_id => 1 |
|
180 | delete :destroy, :project_id => 1 | |
181 | assert_response :redirect |
|
181 | assert_response :redirect |
General Comments 0
You need to be logged in to leave comments.
Login now