circleci
5 of 8 new or added lines in 1 file covered. (62.5%)
891 existing lines in 32 files now uncovered.2592 of 3137 relevant lines covered (82.63%)
353.31 hits per line
| 1 |
# frozen_string_literal: true
|
|
|
UNCOV
2
|
class Users::MediafluxCallbacksController < ApplicationController |
1✔ |
|
UNCOV
3
|
def passthru |
1✔ |
|
UNCOV
4
|
session[:original_path] = params["path"] |
× |
|
UNCOV
5
|
redirect_to session[:cas_login_url], allow_other_host: true |
× |
|
UNCOV
6
|
end
|
|
| 7 |
|
|
|
UNCOV
8
|
def cas |
1✔ |
|
UNCOV
9
|
ticket = params[:ticket]
|
× |
|
UNCOV
10
|
uri = URI.parse(session[:cas_validation_url]) |
× |
|
UNCOV
11
|
token = "#{uri.query}#{ticket}"
|
× |
|
UNCOV
12
|
current_user.mediaflux_login(token, session) |
× |
|
UNCOV
13
|
redirect_to(session["original_path"] || dashboard_path)
|
× |
|
UNCOV
14
|
end
|
|
|
UNCOV
15
|
end
|