spec/models/spotlight/page_spec.rb in blacklight-spotlight-0.18.0 vs spec/models/spotlight/page_spec.rb in blacklight-spotlight-0.19.0
- old
+ new
@@ -1,6 +1,4 @@
-require 'spec_helper'
-
describe Spotlight::Page, type: :model do
let(:exhibit) { FactoryGirl.create(:exhibit) }
let!(:parent_page) { Spotlight::FeaturePage.create! exhibit: exhibit, published: true }
let!(:child_page) { Spotlight::FeaturePage.create! exhibit: exhibit, published: false, parent_page: parent_page }