push
0 of 1 new or added line in 1 file covered. (0.0%)
6774 existing lines in 129 files now uncovered.1939 of 15613 relevant lines covered (12.42%)
0.25 hits per line
UNCOV
1
|
class EulaController < ApplicationController |
× |
UNCOV
2
|
include AuthorizationHelper
|
× |
3 |
|
|
UNCOV
4
|
def action_allowed? |
× |
UNCOV
5
|
current_user_has_student_privileges? |
× |
UNCOV
6
|
end
|
× |
7 |
|
|
UNCOV
8
|
def display; end |
× |
9 |
|
|
UNCOV
10
|
def accept |
× |
UNCOV
11
|
session[:user].update_attribute('is_new_user', 0) |
× |
UNCOV
12
|
redirect_to controller: 'student_task', action: 'list' |
× |
UNCOV
13
|
end
|
× |
14 |
|
|
UNCOV
15
|
def decline |
× |
UNCOV
16
|
flash[:notice] = 'Please accept the license agreement in order to use the system.' |
× |
UNCOV
17
|
redirect_to action: 'display' |
× |
UNCOV
18
|
end
|
× |
UNCOV
19
|
end
|
× |