summaryrefslogtreecommitdiffstats
path: root/test/unit/issue_status_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/issue_status_test.rb')
-rw-r--r--test/unit/issue_status_test.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/unit/issue_status_test.rb b/test/unit/issue_status_test.rb
index 5d3b6a112..75c86e39e 100644
--- a/test/unit/issue_status_test.rb
+++ b/test/unit/issue_status_test.rb
@@ -112,6 +112,10 @@ class IssueStatusTest < ActiveSupport::TestCase
end
end
+ def test_sorted_scope
+ assert_equal IssueStatus.all.sort, IssueStatus.sorted.all
+ end
+
def test_named_scope
status = IssueStatus.named("resolved").first
assert_not_nil status