diff options
Diffstat (limited to 'test/unit/version_test.rb')
-rw-r--r-- | test/unit/version_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/version_test.rb b/test/unit/version_test.rb index 55a315af0..a1dddd905 100644 --- a/test/unit/version_test.rb +++ b/test/unit/version_test.rb @@ -124,7 +124,7 @@ class VersionTest < ActiveSupport::TestCase v5 = Version.create!(:project_id => 1, :name => 'v5', :effective_date => '2012-07-02') assert_equal [v5, v3, v1, v2, v4], [v1, v2, v3, v4, v5].sort - assert_equal [v5, v3, v1, v2, v4], Version.sorted.all + assert_equal [v5, v3, v1, v2, v4], Version.sorted.to_a end def test_completed_should_be_false_when_due_today |