diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-18 19:33:29 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-18 19:33:29 +0000 |
commit | 327a74b4066a3cf7272435750baa1a277a502004 (patch) | |
tree | 7e01b8a90fef569b9448ba31be9a0fe206c1c0e8 /test/unit/tracker_test.rb | |
parent | 864054c00504f8107535aacf181ccedf52cb1d0f (diff) | |
download | redmine-327a74b4066a3cf7272435750baa1a277a502004.tar.gz redmine-327a74b4066a3cf7272435750baa1a277a502004.zip |
Additional test for Tracker model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9439 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/tracker_test.rb')
-rw-r--r-- | test/unit/tracker_test.rb | 4 |
1 files changed, 4 insertions, 0 deletions
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 |