• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pulibrary / tigerdata-app / 62b73c47-d7c3-42d1-89ea-d5a910c801c1

29 Oct 2025 08:18PM UTC coverage: 87.65% (-3.7%) from 91.355%
62b73c47-d7c3-42d1-89ea-d5a910c801c1

push

circleci

web-flow
Upgrade to mediaflux_dev v0.17.0 (#2118)

Co-authored-by: Hector Correa <hector_correa@princeton.edu>

1 of 1 new or added line in 1 file covered. (100.0%)

941 existing lines in 40 files now uncovered.

2697 of 3077 relevant lines covered (87.65%)

426.44 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/app/controllers/new_project_wizard/review_and_submit_controller.rb
1
# frozen_string_literal: true
UNCOV
2
class NewProjectWizard::ReviewAndSubmitController < RequestWizardsController
2✔
UNCOV
3
  layout "wizard_last"
2✔
4

UNCOV
5
  protected
2✔
6

UNCOV
7
    def render_current
2✔
UNCOV
8
      @request_presenter = RequestPresenter.new(@request_model)
21✔
UNCOV
9
      @request_model.valid_to_submit?
21✔
UNCOV
10
      @form_url = new_project_review_and_submit_save_path(@request_model)
21✔
UNCOV
11
      render "/new_project_wizard/review_and_submit"
21✔
UNCOV
12
    end
13

UNCOV
14
    def render_next
2✔
15
      if @request_model.valid_to_submit?
6✔
16
        @request_model.state = Request::SUBMITTED
5✔
17
        @request_model.save
5✔
18
        TigerdataMailer.with(request_id: @request_model.id, submitter: current_user).request_creation.deliver_now
5✔
19
        redirect_to request_submit_path
5✔
UNCOV
20
      else
21
        stubbed_message = "Please resolve errors before submitting your request"
1✔
22
        flash[:notice] = stubbed_message
1✔
23
        redirect_to new_project_review_and_submit_path(request_model)
1✔
UNCOV
24
      end
UNCOV
25
    end
26

UNCOV
27
    def render_back
2✔
28
      # TODO: redirect back to additional information when that screen is implemented
29
      # redirect_to new_project_additional_information_related_resources_path(request_model)
30
      redirect_to new_project_storage_and_access_path(request_model)
2✔
UNCOV
31
    end
UNCOV
32
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc