travis-ci
413 of 1253 relevant lines covered (32.96%)
110.1 hits per line
1 |
class MockRedis |
6✔ |
2 |
class IndifferentHash < Hash |
6✔ |
3 |
def [](key) |
6✔ |
4 |
super(key.to_s)
|
× |
5 |
end
|
|
6 |
|
|
7 |
def []=(key, value) |
6✔ |
8 |
super(key.to_s, value)
|
× |
9 |
end
|
|
10 |
|
|
11 |
def has_key?(key) |
6✔ |
12 |
super(key.to_s)
|
× |
13 |
end
|
|
14 |
|
|
15 |
def key?(key) |
6✔ |
16 |
super(key.to_s)
|
× |
17 |
end
|
|
18 |
end
|
|
19 |
end
|