circleci
0 of 46 new or added lines in 2 files covered. (0.0%)
4806 existing lines in 74 files now uncovered.65 of 5065 relevant lines covered (1.28%)
0.01 hits per line
| 1 |
# frozen_string_literal: true
|
|
| 2 |
|
|
|
UNCOV
3
|
require "nokogiri"
|
× |
|
UNCOV
4
|
require "open-uri"
|
× |
| 5 |
|
|
| 6 |
# Controller to handle the completion of a submission
|
|
| 7 |
#
|
|
| 8 |
# The wizard flow is shown in the [mermaid diagram here](https://github.com/pulibrary/pdc_describe/blob/main/docs/wizard_flow.md).
|
|
| 9 |
#
|
|
|
UNCOV
10
|
class WorksWizardSubmissionCompleteController < ApplicationController |
× |
| 11 |
# get /works/policy
|
|
|
UNCOV
12
|
def show |
× |
|
UNCOV
13
|
@work = Work.find(params[:id]) |
× |
|
UNCOV
14
|
@email = if @work.group == Group.plasma_laboratory |
× |
|
UNCOV
15
|
"publications@pppl.gov"
|
× |
|
UNCOV
16
|
else
|
× |
|
UNCOV
17
|
"prds@princeton.edu"
|
× |
|
UNCOV
18
|
end
|
× |
|
UNCOV
19
|
end
|
× |
|
UNCOV
20
|
end
|
× |