diff options
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 1e09743c3..c1d02a56c 100644 --- a/test/unit/tracker_test.rb +++ b/test/unit/tracker_test.rb @@ -20,6 +20,10 @@ require File.expand_path('../../test_helper', __FILE__) class TrackerTest < ActiveSupport::TestCase fixtures :trackers, :workflows, :issue_statuses, :roles, :issues, :projects, :projects_trackers, :enabled_modules + def setup + User.current = nil + end + def test_sorted_scope assert_equal Tracker.all.sort, Tracker.sorted.to_a end |