push
travis-ci
3 of 3 new or added lines in 2 files covered. (100.0%)
1984 existing lines in 133 files now uncovered.18679 of 30010 relevant lines covered (62.24%)
191.38 hits per line
1 |
module Cookies |
4✔ |
2 |
extend ActiveSupport::Concern |
4✔ |
3 |
|
|
4 |
def digest_cookie(file, key) |
4✔ |
UNCOV
5
|
sha256 = Digest::SHA256.file(file) |
× |
UNCOV
6
|
cookies[key] = sha256.hexdigest |
× |
7 |
end
|
|
8 |
|
|
9 |
def digested_cookie_exists?(file, key) |
4✔ |
UNCOV
10
|
sha256 = Digest::SHA256.file(file) |
× |
UNCOV
11
|
cookies[key] == sha256.hexdigest |
× |
12 |
end
|
|
13 |
|
|
14 |
end
|