Additional test for Tracker model.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9439 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-04-18 19:33:29 +00:00
parent 864054c005
commit 327a74b406
1 changed files with 4 additions and 0 deletions

View File

@ -46,4 +46,8 @@ class TrackerTest < ActiveSupport::TestCase
Workflow.delete_all("tracker_id = 1")
assert_equal [], Tracker.find(1).issue_statuses
end
def test_issue_statuses_should_be_empty_for_new_record
assert_equal [], Tracker.new.issue_statuses
end
end