Permalink
Browse files

Fix an 1.8 ordering issue in a test

  • Loading branch information...
1 parent ff89f7d commit 59b73e74b27c6f83ba37707617c87a34c5575ad5 @michaelfairley committed Mar 29, 2012
Showing with 1 addition and 2 deletions.
  1. +0 −1 test/rails3/app/controllers/application_controller.rb
  2. +1 −1 test/test_abongo.rb
@@ -11,5 +11,4 @@ def set_abongo_identity
end
end
-
end
View
@@ -333,7 +333,7 @@ def test_parse_alternatives_range
end
def test_parse_alternatives_hash
- assert_equal(["three", "three", "three", "one"], Abongo.parse_alternatives({"three" => 3, "one" => 1}))
+ assert_equal(["three", "three", "three", "one"].sort, Abongo.parse_alternatives({"three" => 3, "one" => 1}).sort)
end
def test_parse_alternatives_hash_invalid_value

0 comments on commit 59b73e7

Please sign in to comment.