spec/views/spotlight/browse/show.html.erb_spec.rb in blacklight-spotlight-1.0.0 vs spec/views/spotlight/browse/show.html.erb_spec.rb in blacklight-spotlight-1.1.0
- old
+ new
@@ -1,8 +1,8 @@
describe 'spotlight/browse/show', type: :view do
- let(:search) { FactoryGirl.create(:published_search) }
- let(:exhibit) { FactoryGirl.create(:exhibit) }
+ let(:search) { FactoryBot.create(:published_search) }
+ let(:exhibit) { FactoryBot.create(:exhibit) }
before do
allow(view).to receive_messages(resource_masthead?: false)
allow(view).to receive_messages(blacklight_config: Blacklight::Configuration.new)
view.blacklight_config.view.gallery = true