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:
parent
864054c005
commit
327a74b406
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue