Fixed potential test failure.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9025 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
774e5f3b5e
commit
c7e81dfa9b
|
@ -103,7 +103,7 @@ class ProjectTest < ActiveSupport::TestCase
|
||||||
assert_equal ['issue_tracking', 'repository'], Project.new.enabled_module_names
|
assert_equal ['issue_tracking', 'repository'], Project.new.enabled_module_names
|
||||||
end
|
end
|
||||||
|
|
||||||
assert_equal Tracker.all, Project.new.trackers
|
assert_equal Tracker.all.sort, Project.new.trackers.sort
|
||||||
assert_equal Tracker.find(1, 3).sort, Project.new(:tracker_ids => [1, 3]).trackers.sort
|
assert_equal Tracker.find(1, 3).sort, Project.new(:tracker_ids => [1, 3]).trackers.sort
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue