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

pulibrary / pdc_describe / 9dbcf7a4-1c56-4510-9614-74ad5a22cff6

31 Jul 2024 02:46PM UTC coverage: 1.08% (-95.1%) from 96.17%
9dbcf7a4-1c56-4510-9614-74ad5a22cff6

push

circleci

jrgriffiniii
wip

52 of 4814 relevant lines covered (1.08%)

0.01 hits per line

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

0.0
/app/controllers/works_wizard_update_additional_controller.rb
1
# frozen_string_literal: true
2

3
require "nokogiri"
×
4
require "open-uri"
×
5

6
# Controller to handle the update Additional Metadata step in wizard Mode when editing an work
7
#
8
# The wizard flow is shown in the [mermaid diagram here](https://github.com/pulibrary/pdc_describe/blob/main/docs/wizard_flow.md).
9

10
class WorksWizardUpdateAdditionalController < WorksWizardController
×
11
  before_action :load_work, only: [:update_additional_save, :update_additional]
×
12

13
  # get /works/1/update-additional
14
  def update_additional
×
15
    prepare_decorators_for_work_form(@work)
×
16
  end
×
17

18
  # PATCH /works/1/update-additional
19
  def update_additional_save
×
20
    edit_helper(:update_additional, work_readme_select_path(@work))
×
21
  end
×
22
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