Permalink
Browse files

Removes type coercion from specs.

  • Loading branch information...
1 parent 8dbc089 commit ae0b0a76105e1278e6e921dd8cee86af6492850e @chrislloyd chrislloyd committed Nov 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/flipper/redis_spec.rb
@@ -15,7 +15,7 @@ def read_key(key)
client.get key.to_s
rescue RuntimeError => e
if e.message =~ /wrong kind of value/
- client.smembers(key.to_s).map { |member| member.to_i }.to_set
+ client.smembers(key.to_s).to_set
else
raise
end

0 comments on commit ae0b0a7

Please sign in to comment.