spec/factories/pages.rb in blacklight-spotlight-2.6.1.1 vs spec/factories/pages.rb in blacklight-spotlight-2.7.0
- old
+ new
@@ -5,9 +5,15 @@
exhibit
sequence(:title) { |n| "FeaturePage#{n}" }
published { true }
content { '[]' }
end
+ factory :feature_page_static_title, class: 'Spotlight::FeaturePage' do
+ exhibit
+ title { 'FeaturePage' }
+ published { true }
+ content { '[]' }
+ end
factory :feature_subpage, parent: :feature_page do
transient do
exhibit
end
title { 'SubPage1' }