From 327a74b4066a3cf7272435750baa1a277a502004 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 18 Apr 2012 19:33:29 +0000 Subject: [PATCH] Additional test for Tracker model. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9439 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/tracker_test.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/unit/tracker_test.rb b/test/unit/tracker_test.rb index 72c5a9d03..735f7e868 100644 --- a/test/unit/tracker_test.rb +++ b/test/unit/tracker_test.rb @@ -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 -- 2.39.5