spec/factories/single_use_links.rb in hyrax-2.2.0 vs spec/factories/single_use_links.rb in hyrax-2.2.1
- old
+ new
@@ -1,13 +1,13 @@
FactoryBot.define do
factory :single_use_link do
factory :show_link do
- itemId 'fs-id'
- path '/concerns/generic_work/1234'
+ itemId { 'fs-id' }
+ path { '/concerns/generic_work/1234' }
end
factory :download_link do
- itemId 'fs-id'
- path '/downloads/1234'
+ itemId { 'fs-id' }
+ path { '/downloads/1234' }
end
end
end