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

pulibrary / tigerdata-app / d7ce1bf9-25b8-4b3e-b9dd-43f9a26f2d96

17 Oct 2025 05:51PM UTC coverage: 91.054%. Remained the same
d7ce1bf9-25b8-4b3e-b9dd-43f9a26f2d96

Pull #2055

circleci

jrgriffiniii
- Ensuring that `parallelism` is set to 4
- Separating `system` RSpec spec suites in the CI build
- Using an `inconsistent` RSpec tag to mark inconsistently failing tests
- Ensuring that CI does not run for `inconsistent` tests
Pull Request #2055: Ensuring that `parallelism` is set to 4 for CircleCI and separates `system` and inconsistently-failing tests into separate CI jobs

2738 of 3007 relevant lines covered (91.05%)

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

5
  protected
3✔
6

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

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

27
    def render_back
3✔
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)
4✔
31
    end
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