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

pulibrary / orangelight / 4e01fe00-694b-47b4-8b30-2de4dc4acc66

31 Jul 2025 07:56PM UTC coverage: 92.891% (-2.5%) from 95.4%
4e01fe00-694b-47b4-8b30-2de4dc4acc66

Pull #4962

circleci

web-flow
Merge pull request #5130 from pulibrary/clean_up_scss_comments

Remove SCSS commented code.
Pull Request #4962: Orangelight pos workcycle 07-07-2025

193 of 197 new or added lines in 24 files covered. (97.97%)

161 existing lines in 35 files now uncovered.

5932 of 6386 relevant lines covered (92.89%)

1443.08 hits per line

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

69.23
/app/controllers/contact_controller.rb
1
# frozen_string_literal: true
2
class ContactController < ApplicationController
2✔
3
  def question
2✔
4
    @form = AskAQuestionForm.new(question_params)
4✔
5
    if @form.valid? && @form.submit
4✔
6
      flash[:success] = 'Your question has been submitted'
4✔
7

8
      render "question_success"
4✔
9
    else
10
      render partial: "catalog/ask_a_question_form", locals: { form: @form }, status: :unprocessable_entity
×
11
    end
12
  end
13

14
  def suggestion
2✔
UNCOV
15
    @form = SuggestCorrectionForm.new(suggestion_params)
×
UNCOV
16
    if @form.valid? && @form.submit
×
UNCOV
17
      flash[:success] = 'Your suggestion has been submitted'
×
18

UNCOV
19
      render "suggestion_success"
×
20
    else
21
      render partial: "catalog/suggest_correction_form", locals: { form: @form }, status: :unprocessable_entity
×
22
    end
23
  end
24

25
  def report_biased_results
2✔
26
    @form = ReportBiasedResultsForm.new(report_biased_results_params)
1✔
27
    if @form.valid? && @form.submit
1✔
28
      flash[:success] = 'Your report has been submitted'
1✔
29

30
      render "report_biased_results_success"
1✔
31
    else
32
      render partial: "catalog/report_biased_results_form", locals: { form: @form }, status: :unprocessable_entity
×
33
    end
34
  end
35

36
  private
2✔
37

38
    def question_params
2✔
39
      params[:ask_a_question_form].permit!
4✔
40
    end
41

42
    def suggestion_params
2✔
UNCOV
43
      params[:suggest_correction_form].permit!
×
44
    end
45

46
    def report_biased_results_params
2✔
47
      params[:report_biased_results_form].permit!
1✔
48
    end
49
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