]> source.dussan.org Git - redmine.git/commitdiff
Additional test for Tracker model.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 18 Apr 2012 19:33:29 +0000 (19:33 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 18 Apr 2012 19:33:29 +0000 (19:33 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9439 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/tracker_test.rb

index 72c5a9d031c434b7ded8fe6c9850f651b06c9a61..735f7e8682f4fb7c43c06ab8d9a7d21f394c1130 100644 (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