spec/factories/pages.rb in blacklight-spotlight-0.7.2 vs spec/factories/pages.rb in blacklight-spotlight-0.8.0

- old
+ new

@@ -1,9 +1,9 @@ FactoryGirl.define do factory :feature_page, class: Spotlight::FeaturePage do exhibit - title 'Page1' + sequence(:title) { |n| "FeaturePage#{n}" } published true content '[]' end factory :feature_subpage, parent: :feature_page do transient do @@ -13,10 +13,10 @@ content '[]' after(:build) { |subpage, evaluator| subpage.parent_page = FactoryGirl.create(:feature_page, exhibit: evaluator.exhibit) } end factory :about_page, class: Spotlight::AboutPage do exhibit - title 'Page1' + sequence(:title) { |n| "AboutPage#{n}" } content '[]' published true end factory :home_page, class: Spotlight::HomePage do