worthwhile 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c4c58026a32aa117482c5e835c44345fe584aab5
4
- data.tar.gz: 4f92bd0400af9f3ba865912f05cd449296879683
3
+ metadata.gz: e7a0bdc8caa976082ae459f78c1eae0d5522c746
4
+ data.tar.gz: 15a19ca1cca304cc6e6f4db164668b8ac78556f8
5
5
  SHA512:
6
- metadata.gz: 35ff3444a2217820c5c0e8809b47d6679d18ad985cf132a5ce1580ba15906aed9cec2fa5a49a9673c736e46fde8e1c2a6126ae6473a2f1c0506cfeb0d5c94b31
7
- data.tar.gz: d14bf772ef5c92cf1c37b8434d17ca5d26fe9cddc3adf2fc5e33fe4906b1813ca7dbc124f8329b2d717c630c4816279d4651d09c4925e94fe55eb2125a22ad54
6
+ metadata.gz: 9b08b1d3e9a7ac35ed78b6cbd14d152d0f6a3326b7e911277c3c9e7d16563dc2066f79db07a66160ce7be8a8bafbec08f399e17830f7715238bbb3f3ed153e10
7
+ data.tar.gz: 8a446c13f86117ef8b8ddf1405c39138afa589b0d0036d56efe40c478e43567199339998b97537a8bc8a5e9a1f24967242ea02df73f0a2d65ea756f7b425f6d8
@@ -107,6 +107,7 @@ module Worthwhile::CurationConcernController
107
107
  end
108
108
 
109
109
  def after_update_response
110
+ #TODO visibility or lease/embargo status
110
111
  if actor.visibility_changed?
111
112
  redirect_to confirm_curation_concern_permission_path(curation_concern)
112
113
  else
@@ -3,8 +3,16 @@
3
3
  <h4>Apply changes to contents?<h4>
4
4
  </div>
5
5
  <div class="panel-body">
6
- <p>You've changed the permissions on this <%= curation_concern.human_readable_type %>, <i><%= curation_concern.title %></i>, making it visible to <b><%= visibility_badge(curation_concern.visibility) %></b>.</p>
7
- <p>Would you like change all of the files within the <%= curation_concern.human_readable_type %> to <b><%= visibility_badge(curation_concern.visibility) %></b> as well?</p>
6
+ <% if curation_concern.under_embargo? %>
7
+ <p>You've applied an embargo to this <%= curation_concern.human_readable_type %>, <i><%= curation_concern %></i>, changing it's visibility to <b><%= visibility_badge(curation_concern.visibility) %></b> until <%= curation_concern.embargo_release_date.to_date.to_formatted_s(:long_ordinal) %>.</p>
8
+ <p>Would you like to apply the same embargo to all of the files within the <%= curation_concern.human_readable_type %> as well?</p>
9
+ <% elsif curation_concern.active_lease? %>
10
+ <p>You've applied a lease to this <%= curation_concern.human_readable_type %>, <i><%= curation_concern %></i>, changing it's visibility to <b><%= visibility_badge(curation_concern.visibility) %></b> until <%= curation_concern.lease_expiration_date.to_date.to_formatted_s(:long_ordinal) %>.</p>
11
+ <p>Would you like to apply the same lease to all of the files within the <%= curation_concern.human_readable_type %> as well?</p>
12
+ <% else %>
13
+ <p>You've changed the permissions on this <%= curation_concern.human_readable_type %>, <i><%= curation_concern %></i>, making it visible to <b><%= visibility_badge(curation_concern.visibility) %></b>.</p>
14
+ <p>Would you like change all of the files within the <%= curation_concern.human_readable_type %> to <b><%= visibility_badge(curation_concern.visibility) %></b> as well?</p>
15
+ <% end %>
8
16
  </div>
9
17
  <div class="form-actions panel-footer">
10
18
  <%= button_to "Yes please.", copy_curation_concern_permission_path(curation_concern), class: 'btn btn-primary' %>
@@ -1,4 +1,4 @@
1
1
  <% assets_with_deactivated_leases.each do |curation_concern| %>
2
2
  <%= link_to curation_concern, edit_lease_path(curation_concern) %> <%= visibility_badge(curation_concern.visibility) %>
3
- <%= render partial:"lease_history", locals:{curation_concern:curation_concern} %>
3
+ <%= render "lease_history", curation_concern: curation_concern %>
4
4
  <% end %>
@@ -39,5 +39,5 @@
39
39
  <% if curation_concern.lease_history.empty? %>
40
40
  This <%= curation_concern.human_readable_type %> has never had embargoes applied to it.
41
41
  <% else %>
42
- <%= render partial:"lease_history" %>
42
+ <%= render "lease_history" %>
43
43
  <% end %>
@@ -7,12 +7,12 @@
7
7
  </ul>
8
8
  <div class="tab-content">
9
9
  <div class="tab-pane active" id="active">
10
- <%= render partial:"list_active_leases" %>
10
+ <%= render "list_active_leases" %>
11
11
  </div>
12
12
  <div class="tab-pane" id="expired">
13
- <%= render partial:"list_expired_active_leases" %>
13
+ <%= render "list_expired_active_leases" %>
14
14
  </div>
15
15
  <div class="tab-pane" id="deactivated">
16
- <%= render partial:"list_deactivated_leases" %>
16
+ <%= render "list_deactivated_leases" %>
17
17
  </div>
18
- </div>
18
+ </div>
@@ -12,6 +12,10 @@ module Worthwhile
12
12
  say_status("warning", "GENERATING HYDRA-HEAD", :yellow)
13
13
  generate "hydra:head -f"
14
14
 
15
+ # TODO this should probably move to the hydra:head generator because it installs the gem
16
+ say_status("warning", "GENERATING RSPEC-RAILS", :yellow)
17
+ generate 'rspec:install'
18
+
15
19
  say_status("warning", "GENERATING SUFIA", :yellow)
16
20
  generate "sufia:models:install#{options[:force] ? ' -f' : ''}"
17
21
  end
@@ -0,0 +1,19 @@
1
+ Description:
2
+ This generator creates the necessary files for work that extends
3
+ Worthwhile's GenericWork.
4
+
5
+ Example:
6
+ rails generate worthwhile:work ScholarlyPaper
7
+
8
+ This will create:
9
+ app/repository_models/scholarly_paper.rb
10
+ app/actors/curation_concern/scholarly_paper_actor.rb
11
+ app/controllers/curation_concern/scholarly_papers_controller.rb
12
+ app/views/curation_concern/scholarly_papers/.keep
13
+ spec/factories/scholarly_paper_factory.rb
14
+ spec/repository_models/scholarly_paper_spec.rb
15
+ spec/actors/curation_concern/scholarly_paper_actor_spec.rb
16
+ spec/controllers/curation_concern/scholarly_papers_controller_spec.rb
17
+
18
+ This will also:
19
+ register ScholarlyPaper as a valid curation concern
@@ -0,0 +1,13 @@
1
+ ===============================================================================
2
+
3
+ After creating your work you may wish to:
4
+
5
+ 1. Add custom views:
6
+
7
+ Your newly created work's controller extends from
8
+ CurationConcern::GenericWorksController; This means that it will use the
9
+ views found in Worthwhile::Engine.root/app/views/curation_concern/base.
10
+
11
+ 2. Modify the model and datastreams
12
+
13
+ ===============================================================================
@@ -0,0 +1,6 @@
1
+ # Generated via
2
+ # `rails generate worthwhile:work <%= class_name %>`
3
+ module CurationConcern
4
+ class <%= class_name %>Actor < CurationConcern::GenericWorkActor
5
+ end
6
+ end
@@ -0,0 +1,9 @@
1
+ # Generated via
2
+ # `rails generate worthwhile:work <%= class_name %>`
3
+ require 'rails_helper'
4
+
5
+ describe CurationConcern::<%= class_name %>Actor do
6
+ it "should have some tests" do
7
+ skip "Add your tests here"
8
+ end
9
+ end
@@ -0,0 +1,7 @@
1
+ # Generated via
2
+ # `rails generate worthwhile:work <%= class_name %>`
3
+
4
+ class CurationConcern::<%= class_name.pluralize %>Controller < ApplicationController
5
+ include Worthwhile::CurationConcernController
6
+ set_curation_concern_type <%= class_name %>
7
+ end
@@ -0,0 +1,9 @@
1
+ # Generated via
2
+ # `rails generate worthwhile:work <%= class_name %>`
3
+ require 'rails_helper'
4
+
5
+ describe CurationConcern::<%= class_name.pluralize %>Controller do
6
+ it "should have some tests" do
7
+ skip "Add your tests here"
8
+ end
9
+ end
@@ -0,0 +1,6 @@
1
+ # Generated via
2
+ # `rails generate worthwhile:work <%= class_name %>`
3
+ class <%= class_name %> < ActiveFedora::Base
4
+ include ::CurationConcern::Work
5
+ include ::CurationConcern::WithBasicMetadata
6
+ end
@@ -0,0 +1,9 @@
1
+ # Generated via
2
+ # `rails generate worthwhile:work <%= class_name %>`
3
+ require 'rails_helper'
4
+
5
+ describe <%= class_name %> do
6
+ it "should have some tests" do
7
+ skip "Add your tests here"
8
+ end
9
+ end
@@ -0,0 +1,78 @@
1
+ # -*- encoding : utf-8 -*-
2
+ require 'rails/generators'
3
+
4
+ class Rails::Generators::NamedBase
5
+ private
6
+ def destroy(what, *args)
7
+ log :destroy, what
8
+ argument = args.map {|arg| arg.to_s }.flatten.join(" ")
9
+
10
+ in_root {
11
+ run_ruby_script("bin/rails destroy #{what} #{argument}", verbose: true)
12
+ }
13
+ end
14
+ end
15
+
16
+ class Worthwhile::WorkGenerator < Rails::Generators::NamedBase
17
+ source_root File.expand_path("../templates", __FILE__)
18
+
19
+
20
+ argument :attributes, :type => :array, :default => [], :banner => "field:type field:type"
21
+
22
+ # Why all of these antics with defining individual methods?
23
+ # Because I want the output of Worthwhile::WorkGenerator to include all the processed files.
24
+ def create_model_spec
25
+ return unless rspec_installed?
26
+ template "model_spec.rb.erb", "spec/repository_models/#{file_name}_spec.rb"
27
+ end
28
+
29
+ def create_model
30
+ template("model.rb.erb", "app/repository_models/#{file_name}.rb")
31
+ end
32
+ def create_controller_spec
33
+ return unless rspec_installed?
34
+ template("controller_spec.rb.erb", "spec/controllers/curation_concern/#{plural_file_name}_controller_spec.rb")
35
+ end
36
+
37
+ def create_actor_spec
38
+ return unless rspec_installed?
39
+ template("actor_spec.rb.erb", "spec/actors/curation_concern/#{file_name}_actor_spec.rb")
40
+ end
41
+
42
+ def create_controller
43
+ template("controller.rb.erb", "app/controllers/curation_concern/#{plural_file_name}_controller.rb")
44
+ end
45
+
46
+ def create_actor
47
+ template("actor.rb.erb", "app/actors/curation_concern/#{file_name}_actor.rb")
48
+ end
49
+
50
+ def register_work
51
+ inject_into_file 'config/initializers/worthwhile_config.rb', after: "Worthwhile.configure do |config|\n" do
52
+ data = ""
53
+ data << " # Injected via `rails g worthwhile:work #{class_name}`\n"
54
+ data << " config.register_curation_concern :#{file_name}\n"
55
+ data
56
+ end
57
+ end
58
+
59
+ def create_views
60
+ create_file "app/views/curation_concern/#{plural_file_name}/_#{file_name}.html.erb" do
61
+ data = "<%# This is a search result view %>\n"
62
+ data << "<%= render 'catalog/document', document: #{file_name}, document_counter: #{file_name}_counter %>\n"
63
+ data
64
+ end
65
+ end
66
+
67
+ def create_readme
68
+ readme 'README'
69
+ end
70
+
71
+
72
+ private
73
+
74
+ def rspec_installed?
75
+ defined?(RSpec) && defined?(RSpec::Rails)
76
+ end
77
+
78
+ end
@@ -1,3 +1,3 @@
1
1
  module Worthwhile
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -2,6 +2,7 @@ FactoryGirl.define do
2
2
  factory :work, aliases: [:generic_work, :private_generic_work], class: GenericWork do
3
3
  ignore do
4
4
  user { FactoryGirl.create(:user) }
5
+ embargo_date { Date.tomorrow.to_s }
5
6
  end
6
7
 
7
8
  title ["Test title"]
@@ -21,17 +22,21 @@ FactoryGirl.define do
21
22
  end
22
23
 
23
24
  factory :embargoed_work do
24
- after(:build) { |work, _| work.apply_embargo(Date.tomorrow.to_s, Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PRIVATE, Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PUBLIC) }
25
+ after(:build) { |work, evaluator| work.apply_embargo(evaluator.embargo_date, Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PRIVATE, Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PUBLIC) }
25
26
  end
26
27
 
27
28
  factory :embargoed_work_with_files do
28
29
  after(:build) { |work, _| 2.times { work.generic_files << FactoryGirl.build(:generic_file) }}
29
- after(:build) { |work, _| work.apply_embargo(Date.tomorrow.to_s, Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PRIVATE, Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PUBLIC) }
30
+ after(:build) { |work, evaluator| work.apply_embargo(evaluator.embargo_date, Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PRIVATE, Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PUBLIC) }
31
+ end
32
+
33
+ factory :leased_work do
34
+ after(:build) { |work, evaluator| work.apply_lease(evaluator.embargo_date, Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PUBLIC, Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PRIVATE) }
30
35
  end
31
36
 
32
37
  factory :leased_work_with_files do
33
38
  after(:build) { |work, _| 2.times { work.generic_files << FactoryGirl.build(:generic_file) }}
34
- after(:build) { |work, _| work.apply_lease(Date.tomorrow.to_s, Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PUBLIC, Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PRIVATE) }
39
+ after(:build) { |work, evaluator| work.apply_lease(evaluator.embargo_date, Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PUBLIC, Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PRIVATE) }
35
40
  end
36
41
  end
37
42
  end
@@ -10,6 +10,8 @@ describe 'embargo' do
10
10
  visit '/'
11
11
  end
12
12
 
13
+ let(:future_date) { 2.days.from_now }
14
+
13
15
  it "can be created, displayed and updated" do
14
16
  click_link 'New Generic Work'
15
17
  fill_in 'Title', with: 'Embargo test'
@@ -24,10 +26,10 @@ describe 'embargo' do
24
26
 
25
27
  expect(page).to have_content("This work is under embargo.")
26
28
 
27
- fill_in "until", with: 2.days.from_now.to_s
29
+ fill_in "until", with: future_date.to_s
28
30
 
29
31
  click_button "Update Embargo"
30
- expect(page).to have_content(2.days.from_now.strftime '%F')
32
+ expect(page).to have_content(future_date.to_date.to_formatted_s(:long_ordinal))
31
33
  end
32
34
  end
33
35
 
@@ -7,6 +7,8 @@ describe "leases" do
7
7
  end
8
8
  describe "create a new leased object" do
9
9
 
10
+ let(:future_date) { 2.days.from_now }
11
+
10
12
  it "can be created, displayed and updated" do
11
13
  visit '/'
12
14
  click_link 'New Generic Work'
@@ -22,10 +24,10 @@ describe "leases" do
22
24
 
23
25
  expect(page).to have_content("This work is under lease.")
24
26
 
25
- fill_in "until", with: 2.days.from_now.to_s
27
+ fill_in "until", with: future_date.to_s
26
28
 
27
29
  click_button "Update Lease"
28
- expect(page).to have_content(2.days.from_now.strftime '%F')
30
+ expect(page).to have_content(future_date.to_date.to_formatted_s(:long_ordinal))
29
31
  end
30
32
 
31
33
  end
@@ -1,37 +1,53 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe Worthwhile::LeaseService do
4
+
5
+ before { GenericWork.destroy_all }
6
+
4
7
  let(:future_date) { 2.days.from_now }
5
8
  let(:past_date) { 2.days.ago }
6
9
 
7
10
  let!(:work_with_expired_lease1) do
8
- FactoryGirl.build(:generic_work, lease_expiration_date: past_date.to_s).tap do |work|
11
+ build(:generic_work, lease_expiration_date: past_date.to_s).tap do |work|
9
12
  work.save(validate: false)
10
13
  end
11
14
  end
12
15
 
13
16
  let!(:work_with_expired_lease2) do
14
- FactoryGirl.build(:generic_work, lease_expiration_date: past_date.to_s).tap do |work|
17
+ build(:generic_work, lease_expiration_date: past_date.to_s).tap do |work|
15
18
  work.save(validate: false)
16
19
  end
17
20
  end
18
21
 
19
- let!(:work_with_lease_in_effect) { FactoryGirl.create(:generic_work, lease_expiration_date: future_date.to_s)}
20
- let!(:work_without_lease) { FactoryGirl.create(:generic_work)}
22
+ let!(:work_with_lease_in_effect) { create(:generic_work, lease_expiration_date: future_date.to_s)}
23
+ let!(:work_without_lease) { create(:generic_work)}
21
24
 
22
25
  describe "#assets_with_expired_leases" do
23
- it "returns an array of assets with expired embargoes" do
24
- returned_pids = subject.assets_with_expired_leases.map {|a| a.pid}
26
+ it "returns an array of assets with expired lease" do
27
+ returned_pids = subject.assets_with_expired_leases.map(&:pid)
25
28
  expect(returned_pids).to include work_with_expired_lease1.pid,work_with_expired_lease2.pid
26
29
  expect(returned_pids).to_not include work_with_lease_in_effect.pid,work_without_lease.pid
27
30
  end
28
31
  end
29
32
 
30
33
  describe "#assets_under_lease" do
31
- it "returns an array of assets with expired embargoes" do
32
- returned_pids = subject.assets_under_lease.map {|a| a.pid}
34
+ it "returns an array of assets with active leases" do
35
+ returned_pids = subject.assets_under_lease.map(&:pid)
33
36
  expect(returned_pids).to include work_with_expired_lease1.pid,work_with_expired_lease2.pid,work_with_lease_in_effect.pid
34
37
  expect(returned_pids).to_not include work_without_lease.pid
35
38
  end
36
39
  end
40
+
41
+ describe "#assets_with_deactivated_leases" do
42
+ before do
43
+ work_with_expired_lease1.deactivate_lease!
44
+ work_with_expired_lease1.save!
45
+ work_with_lease_in_effect.deactivate_lease!
46
+ work_with_lease_in_effect.save!
47
+ end
48
+ it "returns an array of assets with deactivated leases" do
49
+ returned_pids = subject.assets_with_deactivated_leases.map(&:pid)
50
+ expect(returned_pids).to eq [work_with_expired_lease1.id, work_with_lease_in_effect.id ]
51
+ end
52
+ end
37
53
  end
@@ -0,0 +1,33 @@
1
+ require 'spec_helper'
2
+
3
+ describe 'curation_concern/permissions/confirm.html.erb' do
4
+ before do
5
+ allow(curation_concern).to receive(:to_param).and_return('test:123')
6
+ allow(view).to receive(:curation_concern).and_return(curation_concern)
7
+ render
8
+ end
9
+
10
+ context "when the work is embargoed" do
11
+ let(:curation_concern) { build(:embargoed_work, embargo_date: '2099-09-26'.to_date) }
12
+
13
+ it "should have a message about embargos" do
14
+ expect(rendered).to have_content "You've applied an embargo to this Generic Work, Test title, changing it's visibility to Private until September 26th, 2099. Would you like to apply the same embargo to all of the files within the Generic Work as well?"
15
+ end
16
+ end
17
+
18
+ context "when the work is leased" do
19
+ let(:curation_concern) { build(:leased_work, embargo_date: '2099-09-26'.to_date) }
20
+
21
+ it "should have a message about leases" do
22
+ expect(rendered).to have_content "You've applied a lease to this Generic Work, Test title, changing it's visibility to Open Access until September 26th, 2099. Would you like to apply the same lease to all of the files within the Generic Work as well?"
23
+ end
24
+ end
25
+
26
+ context "when the work is not embargoed" do
27
+ let(:curation_concern) { build(:work) }
28
+
29
+ it "should have a message about visibility" do
30
+ expect(rendered).to have_content "You've changed the permissions on this Generic Work, Test title, making it visible to Private. Would you like change all of the files within the Generic Work to Private as well?"
31
+ end
32
+ end
33
+ end
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency 'hydra-head', '~> 7.2.0'
21
+ spec.add_dependency 'hydra-head', '~> 7.2.2'
22
22
  spec.add_dependency "breadcrumbs_on_rails", "~> 2.3.0"
23
23
  spec.add_dependency "active_attr"
24
24
  spec.add_dependency "simple_form", '~> 3.1.0.rc2'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: worthwhile
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Coyne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-19 00:00:00.000000000 Z
11
+ date: 2014-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hydra-head
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 7.2.0
19
+ version: 7.2.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 7.2.0
26
+ version: 7.2.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: breadcrumbs_on_rails
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -497,6 +497,15 @@ files:
497
497
  - lib/generators/worthwhile/templates/worthwhile.js
498
498
  - lib/generators/worthwhile/templates/worthwhile_config.rb
499
499
  - lib/generators/worthwhile/templates/worthwhile_helper.rb
500
+ - lib/generators/worthwhile/work/USAGE
501
+ - lib/generators/worthwhile/work/templates/README
502
+ - lib/generators/worthwhile/work/templates/actor.rb.erb
503
+ - lib/generators/worthwhile/work/templates/actor_spec.rb.erb
504
+ - lib/generators/worthwhile/work/templates/controller.rb.erb
505
+ - lib/generators/worthwhile/work/templates/controller_spec.rb.erb
506
+ - lib/generators/worthwhile/work/templates/model.rb.erb
507
+ - lib/generators/worthwhile/work/templates/model_spec.rb.erb
508
+ - lib/generators/worthwhile/work/work_generator.rb
500
509
  - lib/worthwhile.rb
501
510
  - lib/worthwhile/configuration.rb
502
511
  - lib/worthwhile/controller_resource.rb
@@ -564,6 +573,7 @@ files:
564
573
  - spec/views/collections/_form_representative_image.html.erb_spec.rb
565
574
  - spec/views/curation_concern/base/_attributes.html.erb_spec.rb
566
575
  - spec/views/curation_concern/base/show.html.erb_spec.rb
576
+ - spec/views/curation_concern/permissions/confirm.html.erb_spec.rb
567
577
  - spec/views/shared/_add_content.html.erb_spec.rb
568
578
  - spec/views/shared/_my_actions.html.erb_spec.rb
569
579
  - spec/workers/visibility_copy_worker_spec.rb
@@ -668,6 +678,7 @@ test_files:
668
678
  - spec/views/collections/_form_representative_image.html.erb_spec.rb
669
679
  - spec/views/curation_concern/base/_attributes.html.erb_spec.rb
670
680
  - spec/views/curation_concern/base/show.html.erb_spec.rb
681
+ - spec/views/curation_concern/permissions/confirm.html.erb_spec.rb
671
682
  - spec/views/shared/_add_content.html.erb_spec.rb
672
683
  - spec/views/shared/_my_actions.html.erb_spec.rb
673
684
  - spec/workers/visibility_copy_worker_spec.rb