Permalink
Browse files

Ensure strings in read and write keys.

  • Loading branch information...
1 parent 4acbe04 commit e36a2de0ee784abb5178af6a6a1653a4ca944411 @jnunemaker committed Feb 5, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/flipper/redis_spec.rb
@@ -25,10 +25,10 @@ def write_key(key, value)
case value
when Array, Set
value.each do |member|
- client.sadd key.to_s, member
+ client.sadd key.to_s, member.to_s
end
else
- client.set key.to_s, value
+ client.set key.to_s, value.to_s
end
end

0 comments on commit e36a2de

Please sign in to comment.