summaryrefslogtreecommitdiffstats
path: root/test/unit/tracker_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-03-17 20:02:51 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-03-17 20:02:51 +0000
commit8cb5acf4537141292dd785f66b48acd6dba3b4de (patch)
tree656ac717acaa78fac1fec5ee31758cb6f983b707 /test/unit/tracker_test.rb
parent030afe74281672852836f6688093a9a988a60e72 (diff)
downloadredmine-8cb5acf4537141292dd785f66b48acd6dba3b4de.tar.gz
redmine-8cb5acf4537141292dd785f66b48acd6dba3b4de.zip
Add some tests on RolesController.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1269 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/tracker_test.rb')
-rw-r--r--test/unit/tracker_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/tracker_test.rb b/test/unit/tracker_test.rb
index 7adacef3c..406bdd6db 100644
--- a/test/unit/tracker_test.rb
+++ b/test/unit/tracker_test.rb
@@ -22,12 +22,12 @@ class TrackerTest < Test::Unit::TestCase
def test_copy_workflows
source = Tracker.find(1)
- assert_equal 90, source.workflows.size
+ assert_equal 89, source.workflows.size
target = Tracker.new(:name => 'Target')
assert target.save
assert target.workflows.copy(source)
target.reload
- assert_equal 90, target.workflows.size
+ assert_equal 89, target.workflows.size
end
end