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

pulibrary / tigerdata-app / b6e4a7c7-d411-4822-a760-84eba5096a52

01 Dec 2025 03:02PM UTC coverage: 74.875% (-12.7%) from 87.594%
b6e4a7c7-d411-4822-a760-84eba5096a52

Pull #2251

circleci

carolyncole
Updating the department select to utilize LuxInputMultiSelect
The component only allows an item to be selected once (only for non asynch results which departments are).
fiexs #2134
Pull Request #2251: Updating the department select to utilize LuxInputMultiSelect

2390 of 3192 relevant lines covered (74.87%)

215.79 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
2
class NewProjectWizard::ReviewAndSubmitController < RequestWizardsController
1✔
3
  layout "wizard_last"
1✔
4

5
  protected
1✔
6

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

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

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