summaryrefslogtreecommitdiffstats
path: root/test/unit/tracker_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/tracker_test.rb')
-rw-r--r--test/unit/tracker_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/tracker_test.rb b/test/unit/tracker_test.rb
index d45291fd7..a03fa26be 100644
--- a/test/unit/tracker_test.rb
+++ b/test/unit/tracker_test.rb
@@ -25,7 +25,7 @@ class TrackerTest < ActiveSupport::TestCase
end
def test_named_scope
- assert_equal Tracker.find_by_name('Feature'), Tracker.named('feature').first
+ assert_equal Tracker.find(2), Tracker.named('feature request').first
end
def test_visible_scope_chained_with_project_rolled_up_trackers