spec/factories/searches.rb in blacklight-spotlight-0.0.3 vs spec/factories/searches.rb in blacklight-spotlight-0.1.0

- old
+ new

@@ -1,13 +1,13 @@ FactoryGirl.define do factory :search, class: Spotlight::Search do - exhibit Spotlight::Exhibit.default + exhibit title "Search1" - featured_image 'https://stacks.stanford.edu/image/dq287tq6352/dq287tq6352_05_0001_thumb' + featured_item_id 'dq287tq6352' end factory :published_search, class: Spotlight::Search do - exhibit Spotlight::Exhibit.default + exhibit title "Search1" on_landing_page true end end