circleci
1 of 1 new or added line in 1 file covered. (100.0%)
310 existing lines in 40 files now uncovered.2867 of 3202 relevant lines covered (89.54%)
52.16 hits per line
1 |
class UserIsAdmin |
4✔ |
2 |
def self.matches?(request) |
4✔ |
UNCOV
3
|
warden = request.env['warden']
|
8✔ |
UNCOV
4
|
user = warden.authenticate |
8✔ |
UNCOV
5
|
user&.admin? |
8✔ |
6 |
end
|
|
7 |
end
|