push
circleci
5 of 5 new or added lines in 2 files covered. (100.0%)
688 of 810 relevant lines covered (84.94%)
5.68 hits per line
1 |
module EnjuEvent |
1✔ |
2 |
module Controller |
1✔ |
3 |
|
|
4 |
private |
1✔ |
5 |
|
|
6 |
def get_event |
1✔ |
7 |
if params[:event_id] |
× |
8 |
@event = Event.find(params[:event_id]) |
× |
9 |
authorize @event, :show? |
× |
10 |
end
|
|
11 |
end
|
|
12 |
end
|
|
13 |
end
|