lib/fakeredis/sets.rb in fakeredis-0.1.1 vs lib/fakeredis/sets.rb in fakeredis-0.1.2
- old
+ new
@@ -56,10 +56,10 @@
def smembers(key)
fail_unless_set(key)
case set = @data[key]
when nil then []
- when Set then set.to_a
+ when Set then set.to_a.reverse
end
end
def smove(source, destination, value)
fail_unless_set(destination)