diff --git a/spec/hyrax/transactions/steps/save_collection_logo_spec.rb b/spec/hyrax/transactions/steps/save_collection_logo_spec.rb
index 0698926484..c0b9a2e28b 100644
--- a/spec/hyrax/transactions/steps/save_collection_logo_spec.rb
+++ b/spec/hyrax/transactions/steps/save_collection_logo_spec.rb
@@ -13,7 +13,11 @@
let(:uploaded) { FactoryBot.create(:uploaded_file) }
it 'saves logo metadata' do
- expect(step.call(collection, update_logo_file_ids: [uploaded.id.to_s], alttext_values: ["Logo alt Text"], linkurl_values: ["http://abc.com"], logo_unchanged_indicator: false)).to be_success
+ expect(step.call(collection,
+ update_logo_file_ids: [uploaded.id.to_s],
+ alttext_values: ["Logo alt Text"],
+ linkurl_values: ["http://abc.com"],
+ logo_unchanged_indicator: false)).to be_success
expect(CollectionBrandingInfo
.where(collection_id: collection.id.to_s,
@@ -25,7 +29,11 @@
end
it 'does not save linkurl containing html; target_url is empty' do
- expect(step.call(collection, update_logo_file_ids: [uploaded.id.to_s], alttext_values: ["Logo alt Text"], linkurl_values: [""], logo_unchanged_indicator: false)).to be_success
+ expect(step.call(collection,
+ update_logo_file_ids: [uploaded.id.to_s],
+ alttext_values: ["Logo alt Text"],
+ linkurl_values: [""],
+ logo_unchanged_indicator: false)).to be_success
expect(
CollectionBrandingInfo.where(
@@ -36,7 +44,11 @@
end
it 'does not save linkurl containing dodgy protocol; target_url is empty' do
- expect(step.call(collection, update_logo_file_ids: [uploaded.id.to_s], alttext_values: ["Logo alt Text"], linkurl_values: ['javascript:alert("remove_me")'], logo_unchanged_indicator: false)).to be_success
+ expect(step.call(collection,
+ update_logo_file_ids: [uploaded.id.to_s],
+ alttext_values: ["Logo alt Text"],
+ linkurl_values: ['javascript:alert("remove_me")'],
+ logo_unchanged_indicator: false)).to be_success
expect(
CollectionBrandingInfo.where(