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

pulibrary / tigerdata-app / bd039a2a-6f1b-4f1e-b08e-58dd6b70d54e

25 Nov 2025 08:28PM UTC coverage: 91.374% (+11.8%) from 79.623%
bd039a2a-6f1b-4f1e-b08e-58dd6b70d54e

Pull #2247

circleci

hectorcorrea
Added tests to the dashboard for the new data
Pull Request #2247: Display the data sponsor and data manager in the dashboard listing

1 of 3 new or added lines in 1 file covered. (33.33%)

724 existing lines in 41 files now uncovered.

2913 of 3188 relevant lines covered (91.37%)

563.89 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
4✔
UNCOV
3
  layout "wizard_last"
4✔
4

UNCOV
5
  protected
4✔
6

UNCOV
7
    def render_current
4✔
UNCOV
8
      add_breadcrumb("New Project Request")
24✔
UNCOV
9
      @request_presenter = RequestPresenter.new(@request_model)
24✔
UNCOV
10
      @request_model.valid_to_submit?
24✔
UNCOV
11
      @form_url = new_project_review_and_submit_save_path(@request_model)
24✔
UNCOV
12
      render "/new_project_wizard/review_and_submit"
24✔
UNCOV
13
    end
14

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

UNCOV
28
    def render_back
4✔
29
      # TODO: redirect back to additional information when that screen is implemented
30
      # redirect_to new_project_additional_information_related_resources_path(request_model)
UNCOV
31
      redirect_to new_project_storage_and_access_path(request_model)
4✔
UNCOV
32
    end
UNCOV
33
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