Custom fields (list and boolean) can be used as criteria in time report (#1012).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1340 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2008-04-09 17:45:39 +00:00
parent f025b16be7
commit a3c89d4f69
7 changed files with 41 additions and 10 deletions
+3 -2
View File
@@ -450,10 +450,11 @@ class IssuesControllerTest < Test::Unit::TestCase
end
def test_destroy_issue_with_no_time_entries
assert_nil TimeEntry.find_by_issue_id(2)
@request.session[:user_id] = 2
post :destroy, :id => 3
post :destroy, :id => 2
assert_redirected_to 'projects/ecookbook/issues'
assert_nil Issue.find_by_id(3)
assert_nil Issue.find_by_id(2)
end
def test_destroy_issues_with_time_entries