Skip to content

Commit

Permalink
Fixing the fixture in the spec. (Exhibit factory titles are randomly …
Browse files Browse the repository at this point in the history
…generated; One must explicitly pass "Exhibit Title 1")
  • Loading branch information
jrgriffiniii committed Feb 15, 2019
1 parent 7ebb878 commit 49e1b73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/features/catalog_item_spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'rails_helper'

describe 'Catalog', type: :feature do
let(:exhibit) { FactoryBot.create(:exhibit) }
let(:exhibit) { FactoryBot.create(:exhibit, title: 'Exhibit Title 1') }
let(:curator) { FactoryBot.create(:exhibit_curator, exhibit: exhibit) }
let(:admin) { FactoryBot.create(:exhibit_admin, exhibit: exhibit) }
let(:document_id) { '1r66j4408' }
Expand Down

0 comments on commit 49e1b73

Please sign in to comment.