push
circleci
1 of 1 new or added line in 1 file covered. (100.0%)
220 existing lines in 42 files now uncovered.3031 of 3244 relevant lines covered (93.43%)
51.48 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
|