spec/views/spotlight/exhibits/edit.html.erb_spec.rb in blacklight-spotlight-1.0.0 vs spec/views/spotlight/exhibits/edit.html.erb_spec.rb in blacklight-spotlight-1.1.0
- old
+ new
@@ -1,6 +1,6 @@
describe 'spotlight/exhibits/edit', type: :view do
- let(:exhibit) { FactoryGirl.create(:exhibit) }
+ let(:exhibit) { FactoryBot.create(:exhibit) }
before do
assign(:exhibit, exhibit)
allow(view).to receive_messages(
current_exhibit: exhibit,
can?: true,