Skip to content

Commit

Permalink
Fixes spec for 'recursively' method in ruby 1.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
alxberardi committed Jun 25, 2012
1 parent 0e38b61 commit 5595340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/hash_spec.rb
Expand Up @@ -38,7 +38,7 @@
hash.recursively do |k,v| hash.recursively do |k,v|
result << v unless v.is_a?(Hash) result << v unless v.is_a?(Hash)
end end
result.should eql [1,2,3,4,5] result.sort.should eql [1,2,3,4,5] # Ruby 1.8.7 doesn't order hash keys
end end


end end
Expand Down

0 comments on commit 5595340

Please sign in to comment.