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

pulibrary / oawaiver / 40ca2f09-e694-44a5-b909-7cce179b9e67

11 Jul 2024 05:42PM UTC coverage: 0.0% (-80.4%) from 80.383%
40ca2f09-e694-44a5-b909-7cce179b9e67

push

circleci

jrgriffiniii
Trying to expand the RSpec test suite for EmployeesController#ajax_search

0 of 1206 relevant lines covered (0.0%)

0.0 hits per line

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

0.0
/app/helpers/waiver_infos_helper.rb
1
# frozen_string_literal: true
2

3
module WaiverInfosHelper
×
4
  def hidden_author_form_fields
×
5
    # generate input fields with class names that match the field names returned for employee docs
6
    # in the author engine
7
    tag = hidden_field(:waiver_info, :author_first_name, class: "first_name", id: nil)
×
8
    %i[author_last_name author_preferred_name author_email author_unique_id author_department].each do |prop|
×
9
      tag = tag.safe_concat(hidden_field(:waiver_info, prop, class: prop.to_s.sub(/^author_/, ""), id: nil))
×
10
    end
×
11
    tag
×
12
  end
×
13

14
  def properties_list(props)
×
15
    list = ""
×
16
    if @author
×
17
      props.delete("author_unique_id")
×
18
      list = tag.div("Author: #{empl_short @author}", class: "properties")
×
19
    end
×
20
    props.each do |k, v|
×
21
      elem = tag.div("#{k.to_s.titleize}: #{v}", class: "properties")
×
22
      list += elem
×
23
    end
×
24
    list.html_safe
×
25
  end
×
26
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